Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I m facing a problem while run vlc using root account , when i run vlc nothing is happened and the following message is display
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root first and
cannot be run by non-trusted users first).
so i want to know is there is any trick to run vlc using root account
all reply is appreciated
thanks in advance
Best Regard
Ashish Sood
The only way around this which I'm familiar with is recompiling. Pass the --enable-run-as-root flag to ./configure and vlc should be able to run as root.
Well, you already got your answer in the second post. You'll have to remove your existing package and install vlc from source with the appropriate parameters.
Please don't go onto the internet as root, as such irresponsible behaviour puts the rest of us at risk.
Everywhere i'v read about this topic theres always a bunch of people blabbering on about privaleges. This person got his answer, so why all the crap about what he should and should not do, after all its his machine, isn't linux meant to be about freedom and choice , im sure he has already acknowledged the risks of using his machine with the root account and doesn't want it most of this crap.
People should post like maligree, with the actual answer!
Sorry to post to a partly old thread, but this is a good solution to this problem (and no, I'm not spamming the forums): http://www.codefaction.net/fixed/
It has the modified VLC source code to strip the checking for root... it has the binary precompiled (i386 arch) and a patch if you want to apply it to the vlc developers code directly. Thanks.
Please don't go onto the internet as root, as such irresponsible behaviour puts the rest of us at risk.
Regards,
-_- come to the dark side, run as root, you will find that you don't have to type sudo in front of anything you type, there will be no locks on the icons on your desktop, and you will notice that you have grown a full beard.
putting the rest of you at risk is a risk I am willing to take
---------------------------------
also:
before doing these steps you may have to purge your existing vlc installation (apt-get purge vlc)
wget -c http://download.videolan.org/pub/vid...0.9.9a.tar.bz2
tar -xvf vlc-0.9.9a.tar.bz2
cd vlc-0.9.9a
apt-get build-dep vlc
./configure --enable-run-as-root
make
make install
------------------------------
start it from command line, (simply type vlc or /usr/local/bin/vlc) it may give you an error about libvlc.so, if it does run:
apt-get install libvlc-dev libvlc2
and just like magic, vlc is workings in root. compiling takes forever though -_- ...
Sorry to post to a partly old thread, but this is a good solution to this problem (and no, I'm not spamming the forums): http://www.codefaction.net/fixed/
It has the modified VLC source code to strip the checking for root... it has the binary precompiled (i386 arch) and a patch if you want to apply it to the vlc developers code directly. Thanks.
Much thanks for this post. If I wanted an operating system to hold my hand and remind me of what is a potential security problem, I would have gotten Windows Vista.
Logically speaking, Linux should warn you of hazards whenever you plug in your ethernet cable.
Well, you already got your answer in the second post. You'll have to remove your existing package and install vlc from source with the appropriate parameters.
Please don't go onto the internet as root, as such irresponsible behaviour puts the rest of us at risk.
Regards,
Plugging into teh intarwebs puts the rest of us at risk. Why isn't there a warning against going online as root?
If you are running KDE, the simple thing to do would be to...
1) Click your KDE Start Menu.
2) Applications/Multimedia/Video folder (If running PClinux, Kick off menu)
3) Right click VLC and "edit item" (KDE Menu Editor)
4) Second last option on right side (check box "Run as different user")
5) Enter a profile user name on your computer other then root.
6) Exit and save changes.
I'm no computer linux guru, but this was easy to do and it WORKS!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.