How I run VLC as root Ubuntu (100 % works for all linux)

No Doubt,Vlc is powerful and most popular media player in this earth. With the rise of VlC i left installing any codecs in my Linux distro. Vlc run as root ubuntu linuxVLC play almost every media files available . Normally VlC is made for running normal users only. VlC cannot be run when you are logged as root user in Linux machine. Running under root user is not so good way. In case If you want to run VlC as root under your own risk here is simple step that might help you.

Locate Binary File of Vlc which is usually at /usr/bin/vlc.

Open that binary file using your fovourite editor. I simply use Vi editor.Then find geteuid string in binary file and replace that string with getppid . If all goes well you must be able to run VLC in root User.

8 comments on “How I run VLC as root Ubuntu (100 % works for all linux)”

  1. crunchie says:

    Out of date since it isn’t in the latest version!

  2. Nukemonk says:

    Works like a charm! VLC is one of the best IMX50 playback software’s for Linux platforms. Thanks!

  3. madtroll says:

    sed -i ‘s/geteuid/getppid/g’ `which vlc`

    1. Gauravsingh_azm says:

       Good Job……

    2. Martine_la_coquine says:

       Works thank’s !

  4. Ebinjozer says:

    it is not working for rhel6

    1.  The location of Binary File may be different in Rhel . So First find the binary file of vlc and edit as above.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.