VLC is not supposed to be run as root

in ubuntu

apt-get install vlc

And tried to run vlc as root i got error on my terminal ;

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).

This error says straight forward vlc can not be run as root privileged user. What to do now? Don’t be panic. Here is the hacked solution

vi /usr/bin/vlc

search forgeteuid and replace it withgetppid

Save file & Exit.

    原文作者:哈士奇18
    原文地址: https://www.jianshu.com/p/3c8290d7602e
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞