kali linux下不能以root權限運行vlc的解決辦法


習慣了在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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM