Howto: Running VLC Player as root Linux | Ubuntu | RHEL | CentOS | Fedora

Hello,

This article will help those people who wants to Run VLC Player as root on Linux.

There are not so many ways to make VLC Player work as root, and I have found this way is very easy and fast to make VLC Player Work as root.

Let me make one thing more clear that VLC is not only media player it can do so many things and Running VLC as root is very very risky. So think many times before you run VLC as root.

I have only tested that VLC can open using root user, have not tested other features. So take a note of this.

DO IT AT YOUR OWN RISK.

Before starting it let me tell you that please take a backup of original VLC file so you can recover if anything worst.

Perform following steps to Run VLC Player as root :-

1) Install Hexedit Package for your System

=> Package For Red Hat Entrprise Linux 5.x :-

For 32-Bit Architecture Users :-
[root@linux-support-ahmedabad-tejas-barot ~]# wget -c http://www.tejasbarot.com/RPMs/hexedit-1.2.12-10.el5.i386.rpm
[root@linux-support-ahmedabad-tejas-barot ~]# rpm -Uvh hexedit-1.2.12-10.el5.i386.rpm

For 64-Bit (X86_64) Architecture Users :-
[root@linux-support-ahmedabad-tejas-barot ~]# wget -c http://www.tejasbarot.com/RPMs/hexedit-1.2.12-10.el5.x86_64.rpm
[root@linux-support-ahmedabad-tejas-barot ~]# rpm -Uvh hexedit-1.2.12-10.el5.x86_64.rpm

=> Package For Red Hat Entrprise Linux 6.x :-

For 32-Bit Architecture Users :-
[root@linux-support-ahmedabad-tejas-barot ~]# wget -c http://www.tejasbarot.com/RPMs/hexedit-1.2.10-1.el6.rf.i686.rpm
[root@linux-support-ahmedabad-tejas-barot ~]# rpm -Uvh hexedit-1.2.10-1.el6.rf.i686.rpm

For 64-Bit (X86_64) Architecture Users :-
[root@linux-support-ahmedabad-tejas-barot ~]# wget -c http://www.tejasbarot.com/RPMs/hexedit-1.2.10-1.el6.rf.x86_64.rpm
[root@linux-support-ahmedabad-tejas-barot ~]# rpm -Uvh hexedit-1.2.10-1.el6.rf.x86_64.rpm

=> Ubuntu User can Execute Following command :-

root@linux-support-ahmedabad-tejas-barot:~# apt-get install hexedit

2) Now Execute Following command take backup of Original VLC Command :-

[root@linux-support-ahmedabad-tejas-barot ~]# cp -p /usr/bin/vlc /usr/bin/vlc_original_bin

3) Now Open /usr/bin/vlc into hexeditor, Execute Following command :-

[root@linux-support-ahmedabad-tejas-barot ~]# hexedit /usr/bin/vlc

4) Now Press “TAB” Key.

5) Now Press “CTRL + s” to search ASCII String.

6) In Search Box, Now Type “geteuid” and Replace it with “getppid”

7) Now Press “CTRL + x” to Save the file.

8) That’s it. Now You can Open VLC using Command and From Menu too.

If you like this article then Please ClickΒ Google +1 ButtonΒ and Show Your Support. Your Support will encourage me to write more articles.

Enjoy VLC Player πŸ™‚ Enjoy VLC Player as root πŸ™‚ Enjoy Linux πŸ™‚ Enjoy Open Source πŸ™‚