AMP AMP
AMP
0
AMP

cannot open vlc

I have recently intalled VLC media player on my centos but i can' t open it with root user, is shows error

[root@localhost ~]# 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).

How to solve this issue? Thanks in advance

CentOS VLC media player Add a comment
a sample image
perlinjones
asked Jan 25 2018

Answer

AMP
0
AMP

After installing VLC media player you can't open it with your root user account, so you need to give the privilege for the root user in-order to open VLC media player. Now execute below command to resolve this issue.

sed -i 's/geteuid/getppid/' /usr/bin/vlc
Add a comment
a sample image
parthiban
asked Jan 26 2018
edited Oct 05 2018
Post your Answer