News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Problem to run VLC from Computing screen

Started by nite_man, February 09, 2011, 09:41:35 PM

Previous topic - Next topic

nite_man

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.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

Sigg3.net

#1
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

nite_man

Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]