LinuxMCE Forums
May 23, 2013, 06:29:58 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Problem to run VLC from Computing screen  (Read 569 times)
nite_man
NEEDS to work for LinuxMCE
***
Posts: 1019


Want to work with LinuxMCE


View Profile WWW
« on: February 09, 2011, 09:41:35 pm »

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:
Code:
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.
Logged

Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru
Sigg3.net
Veteran
***
Posts: 64


View Profile
« Reply #1 on: February 09, 2011, 10:46:58 pm »

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:
Code:
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
« Last Edit: February 09, 2011, 10:49:51 pm by Sigg3.net » Logged
nite_man
NEEDS to work for LinuxMCE
***
Posts: 1019


Want to work with LinuxMCE


View Profile WWW
« Reply #2 on: February 09, 2011, 11:22:39 pm »

The set SUID is solved problem. Thanks.
Logged

Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!