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 🙂

Howto:Installing VLC Media Player / RHEL 6.x / CentOS 6.x 32 bit / 64 bit ( x86_64) / Using Script / Linux

Hello Guys,

Updated on :- 16th May,2013

I  got huge response from you guys for My Previous VLC installation script on RHEL 5.x, So Many Users requested me to post Same Kind of Script for RHEL 6 and I am done with it. I am Very thankful to each and every user who have given so nice response to my that post. I hope they will enjoy this post too

Previously I have written Script to Install VLC Player on RHEL 5.x 32 bit for Automatic Installation, You can say a script which i have designed to install VLC Player Very Quickly and without any dependecy problems.

This time I have written script to install VLC Player on RHEL 6.x and CentOS 6.x for Both Architecture ( 32bit and X86_64 (64Bit). I hope this script helps you.

To Make it more simple I have created Own RPM So This time there will be 1 additional step that You have to follow.

VLC Media Player Installation
VLC Media Player Installation

Note :- This script is tested in Local Environment, Think many times before you execute on Production/Local/Anywhere, Do it at your OWN RISK.

Following things must exist on your Computer/Linux to execute this script:-

=> Direct Working Internet Connection or Yum Should run from Terminal. If you are using Internet connection with Proxy then it will be problematic for you.

=> RHEL 6.x and CentOS 6.x must be installed with 32bit or X86_64 Arch.

This time couple of addition steps to make it more simple. So This time VLC Installation in 7 Steps.

Perform Following Steps to Install VLC Player on RHEL 6.x / Cent OS 6.x on 32 or 64Bit :-

1) You have to be root to execute this script.

2) Download RPM ( Auto VLC Redhat Centos6) which I have specially created for VLC Installation Script , You can use RPMs for CentOS 6 too.Click on Following link to Download RPM for Your Architecture :-

32 bit Users click on this link :- http://www.tejasbarot.com/RPMs/avrc6-tejas-barot-linux-0.1.0-1.el6.i686.rpm
64 bit Users click on this link :- http://www.tejasbarot.com/RPMs/avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64.rpm

3) Execute Following Commands as per your Respective architecture :-

For 32 Bit Architecture :-

[root@linux-support-tejas-barot ~]# rpm -ivh avrc6-tejas-barot-linux-0.1.0-1.el6.i686.rpm

For 64(X86_64) bit Architecture :-

[root@linux-support-tejas-barot ~]# rpm -ivh avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64.rpm

4) Download VLC Installation Script for RHEL6 and CentOS 6 ,

Click this link :- http://www.tejasbarot.com/Scripts/vlc6-installation.sh

5) Execute following Command where you have downloaded the script.

[root@linux-support-tejas-barot ~]# chmod +x vlc6-installation.sh

6). Now Execute your script by two ways mentioned below

[root@linux-support-tejas-barot ~]# sh vlc6-installation.sh
 OR
 [root@linux-support-tejas-barot ~]# ./vlc6-installation.sh

7) Once you Execute it will ask you 4 Options to Install as per your OS and Architecture and 5th Option for Exit Select Option as per your OS and Architecture

Press (R32) to Install VLC on RHEL 6.x on 32bit
Press (R64) to Install VLC on RHEL 6.x on 64bit

Press (C32) to Install VLC on CentOS 6.x on 32bit
Press (C64) to Install VLC on CentOS 6.x on 64bit
Press (E) to Exit anytime

Please Enter your Selection: <Put Your Option Here and Press Enter>

 

8) Remember you have to be normal user to run VLC Player, You cannot Run VLC Player as root.

Hope You like this.

Comments are closed for this Post you can mail me on blog[at]tejasbarot.com or you can report errors or issue then comment down below.

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

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy VLC  :) Enjoy Scripting 🙂 Enjoy Linux :) Enjoy Open Source :)  

Howto: Installing VLC Media Player / RHEL 5.x / CentOS 5.x / Linux / Script

Hello Friends,

Today I am sharing one more how to for those who is fresher or experience but unable to Install VLC Player on Red Hat Enterprise Linux 5.x. By Performing this howto you will able to install VLC Player in Just 6 Steps.

Following things must exist on your Computer/Linux :-

=> Direct Working Internet Connection or Yum Should run from Terminal. If you are using Internet connection with Proxy then it will be problematic for you.

=> RHEL 5.x must be installed

What is VLC Player ?

=> VLC media player is an open source, free software media player and multimedia framework written by the VideoLAN project.

There are so many peoples who is facing issue while installing VLC Player on Linux and CentOS, Most of the peoples suffer with dependencies problem if they are going to install VLC Player using RPM or YUM.

But Now you will find a very easy way to install VLC Player, I have created Bash Script to Install VLC Player with all Dependencies, So Forget about all problems Just Download and Run Bash Script which I have created for VLC Player Installation on RHEL 5.

Note :- This script is tested in Local Environment, Think many times before you execute on Production/Local/Anywhere, Do it at your OWN RISK.

Perform Following Steps to Install VLC Player on RHEL 5.x / Cent OS 5.x

1. You need to be root to run this script.

2. Download this VLC INSTALLATION SCRIPT.

3. Execute following Command where you have downloaded the script.
[root@tejasbarot ~]# chmod +x vlc-installation.sh

4. Now Execute your script by two ways mentioned below

[root@tejasbarot ~]# sh vlc-installation.sh
OR
[root@tejasbarot ~]# ./vlc-installation.sh

5. Now Just Site Back and Relax for Few Minutes as per your Internet Connection it will Install VLC Player Without any error.

6. Remember you have to be normal user to run VLC Player, You cannot Run VLC Player as root.

Hope you ENJOY THIS………

If this works for you then Show your support and encourage me to write some more howto’s by commenting on the same topic or by sending me mail on blog(at)tejasbarot(dot)com

If this doesn’t work for you then also please do let me know so i can helps you out to solve the issue, If you are facing the error then please send me mail on blog(at)tejasbarot(dot)com with Subject:- VLC Installation Issue

Enjoy Ubuntu 11.10 Oneiric Ocelot :) Enjoy Ubuntu  :) Enjoy Open Source :) Enjoy Linux :)

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Enjoy VLC on Linux 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂 Enjoy Players on Linux.