Monday, 20 July 2015

How to install vlc and Run VLC Player as "root" user in Fedora/RHEL/CentOS

#yum install vlc

after install vlc through yum when you run vlc as root user then you will get the below error.

Error:
[root@sk Desktop]# 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).

Solution:
#sed -i 's/geteuid/getppid/' /usr/bin/vlc
After run above command in your terminal you can run vlc as root also

[root@sk Desktop]# vlc
VLC media player 2.0.10 Twoflower (revision 2.0.10-0-g2912d78)
[0x12a0108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.

No comments:

Post a Comment