習慣了在Linux下面使用VLC播放視頻和音樂, 但是 VLC 的 linux 版本並不支持在root下面運行. 終端運行vlc命令報錯,錯誤信息如下
root@kbdancer:~# vlc VLC is not supposed to be run as root. Sorry. If you need to use real-time priorities and/or privileged TCP ports you can use vlc-wrapper (make sure it is Set-UID root and cannot be run by non-trusted users first).
意思是VLC不能在root下面用.這個也是很好解決.需修改vlc的文件,執行
vim /usr/bin/vlc
然后找到"geteuid",把這個字符串替換成"getppid"保存即可正常運行
原文出自https://www.92ez.com/?action=show&id=23355