how to run vlc in root

Posted on 2009-12-26
Last Modified: 2013-12-06
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.
Question by:ammadeyy2020
    LVL 11

    Accepted Solution

    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.

    Author Comment

    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

    Author Comment

    root@ahmed-bt:~/vlc# ls
    ABOUT-NLS      MAINTAINERS  bin           doc         projects
    AUTHORS  bootstrap     extras      share
    COPYING  compat        include     src
    ChangeLog      NEWS         compile       libs        test
    HACKING        README   m4          toolbox
    INSTALL        THANKS       config.log    make-alias  vlc-1.0.4
    INSTALL.win32  aclocal.m4   configure     modules
    INSTALL.wince  autotools  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/ 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.
    LVL 11

    Expert Comment

    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
    LVL 10

    Assisted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
    Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now