• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1891
  • Last Modified:

how to run vlc in root

im using backtrack 4, and i want to run vlc in root, how can i enable vlc in root?
im getting the followin error
VLC is not supposed to be run as root. Sorry.
  • 2
  • 2
2 Solutions
ammadeyy2020, why would you like to run VLC as root anyway?

If you would like to do it, you have to recompile.

Add this --enable-run-as-root flag to ./configure and compile.
ammadeyy2020Author Commented:
i like using root to access my system

i donwnloaded the vlc version from the link below


it doesnt have make file

where can i download the source with make file, so that i can recompile
ammadeyy2020Author Commented:
root@ahmed-bt:~/vlc# ls
ABOUT-NLS      MAINTAINERS  bin           doc         projects
AUTHORS        Makefile.am  bootstrap     extras      share
COPYING        Makefile.in  compat        include     src
ChangeLog      NEWS         compile       libs        test
HACKING        README       config.h.in   m4          toolbox
INSTALL        THANKS       config.log    make-alias  vlc-1.0.4
INSTALL.win32  aclocal.m4   configure     modules     vlc-config.in.in
INSTALL.wince  autotools    configure.ac  po
root@ahmed-bt:~/vlc# compile
bash: compile: command not found
root@ahmed-bt:~/vlc# ./compile
./compile: line 6: Makefile: No such file or directory
./compile: line 6: /extras/buildsystem/make.pl: No such file or directory
root@ahmed-bt:~/vlc# ./makefile
bash: ./makefile: No such file or directory
root@ahmed-bt:~/vlc# make install
make: *** No rule to make target `install'.  Stop.
Try something like this. I assume you always run the terminal as root.

# apt-get source vlc
# cd vlc-"version"
# ./configure --enable-run-as-root
# ./compile

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now