Hacking VLC To Run As Root On Linux
To get VLC working under root user we must hack the executable using the following method:
- If you are not a
vininja, install the graphical editor usingsudo apt-get install vim-gnomeand start it. - Open the vlc executable in
vifrom/usr/bin/vlcand search for string geteuid, replacing it with getppid as shown below. Make sure you make a backup of vlc app before doing this and no other changes are made to the file.
- Save this modified vlc file and execute it again, it should now work fine under root user as shown below.
