Hi,
I need to run VLC from Computing menu to watch online stream. But it doesn't start because it's tried to run under root but it's not allow:
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 and
cannot be run by non-trusted users first).
Does anybody knows how to solve that?
Thanks in advance.
This is not a bug. Believe me, you don't want to run as root unnecessary. They put in this block for a reason.
If you are root, open up a terminal and type login. This will let you login as non-root user and run vlc. If you type logout when you are done, you should be back to root terminal. On my Mint box:
T61 ~ # login
T61 login: sigg3
Password:
Last login: Wed Feb 9 22:36:51 CET 2011 on pts/2
sigg3@T61 ~ $ vlc whatever.avi
Please note that mplayer is more well-equipped on the command line than VLC is.
Of course, you can circumvent it through SUID: Bash script running program as a certain user (http://www.linuxforums.org/forum/programming-scripting/53447-bash-script-running-program-certain-user.html)
The set SUID is solved problem. Thanks.