Root Access Problem For VLC in Linux

Sometimes its shows the privileges error when trying to open VLC in linux or from terminal even running as root.

error: Cannot determine unprivileged user for VLC!

To solve this error we need to change vlc binary file located at(/usr/bin/vlc by default). Or if u have Hex Editor then open vlc binary file and search for word ‘geteuid‘ and replace it with ‘getppid’.
If don’t have hex editor then just simply execute this command.

‘sed -i ‘s/geteuid/getppid/g’ /usr/bin/vlc

It which will fix this error .That’s it..

Leave a comment