How to run VLC Media Player as Root User in Centos 7,8 / Redhat 7,8 / Fedora

Share on :

How to run VLC Media Player as Root User in Centos 7,8 / Redhat 7,8 / Fedora

VLC media player is a open source media player . you can listen to your favorite music or watch movies or videos in it. In this blog post we will see how can we install it and run as root in centos 7,8 / redhat 7,8 / fedora.

1) Install the epel-release and nux-desktop-release repositary packages.

——< for Centos 7,8 / Rhel 7,8 >——
yum install epel-release -y
yum install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm-y
——-< Fedora >——
dnf install epel-release -y
dnf install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm -y

2) Install VLC.

——< for Centos 7,8 / Rhel 7,8 >——
yum install vlc -y
——-< Fedora >——
dnf install vlc -y

3) Run the following command to make changes in the vlc binary file which will enable vlc to run as root.

sed -i “s/geteuid/getppid/” /usr/bin/vlc

4) now run vlc command or access it by Applications > Sound & Video > VLC.

vlc


Share on :

Gaurav Ubnare

Hi, I Gaurav Ubnare is the founder of "Lets Learn Tech". I am RHCSA and RHCE Certified Professional.

You may also like...

2 Responses

  1. Like!! Great article post.Really thank you! Really Cool.

Leave a Reply

Your email address will not be published. Required fields are marked *