LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-18-2009, 08:22 PM   #1
ASTRAPI
Member
 
Registered: Feb 2007
Posts: 210

Rep: Reputation: 16
Question Vlc won't start as root


Hello

I was use vlc as a normal user with no problems using synaptic for download and setup.

After a day i was try as root to play the same videos as i play in normal user mode and Vlc doesn't start at all and never play any video...

I was try to reinstall it but nothing..

Then i was run it with this command :
vlc --reset-config

And i got this:

Quote:
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).
Can anyone help me please as i am a new user to Linux?

Thank you
 
Old 10-18-2009, 08:35 PM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
VLC don't want to run as root because it is a server and it would be stupid, it just block it. It's not a bug, it's a feature.

There is absolutely no reason to run it as root. Same for most Linux application, just don't.

Last edited by Elv13; 10-18-2009 at 08:37 PM.
 
Old 10-18-2009, 09:42 PM   #3
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by ASTRAPI View Post
Hello

I was use vlc as a normal user with no problems using synaptic for download and setup.

After a day i was try as root to play the same videos as i play in normal user mode and Vlc doesn't start at all and never play any video...

I was try to reinstall it but nothing..

Then i was run it with this command :
vlc --reset-config

And i got this:

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 first and
cannot be run by non-trusted users first).
Can anyone help me please as i am a new user to Linux?

Thank you
VLC tells you that it shouldn't be run as root. Has it occurred to you that you shouldn't run it as root? When you know ten times more about Linux than you know now, you will also know why you shouldn't run VLC as root.
 
Old 10-19-2009, 09:43 AM   #4
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
dunno - it could be only me - but with newer versions - sound was choppy at times - I thought it could be time slicing etc - so even I tried to run it as root

and vlc wont run as root.

the next best thing I did was to su/sudo as root and increase "nice"ness of program 0- but even that did not help. Sound was still choppy.

But again movies were running ok - there were only issues with my audio stuff. it could problem with codecs. First time in ages I used amarok and it to my surprise had improved a bit.
 
Old 10-24-2009, 02:46 AM   #5
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
ASTRAPI,
If you find a particular post helpful, please feel free to click the little blue "Thumbs Up" on the bottom, right-hand corner of that post. This "Thanks" the person that posted.

Also, if a solution has been provided, there's a way to mark the thread as "Solved".

Happy Linuxing!

Last edited by xeleema; 10-24-2009 at 02:52 AM.
 
Old 10-24-2009, 08:43 AM   #6
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,194

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
Quote:
Originally Posted by asimba View Post
the next best thing I did was to su/sudo as root and increase "nice"ness of program 0- but even that did not help. Sound was still choppy.
This was not the "next best" this, this was the correct thing to do if you want to renice the program. VLC itself should run as user, bit if you want to renice it, you have to do that as root. Running VLC as root wouldn't bring anything to that. I am talking about renicing a user program in general, it might not even solve you VLC problem.

jlinkels
 
Old 10-26-2009, 05:16 AM   #7
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
Quote:
Originally Posted by jlinkels View Post
This was not the "next best" this, this was the correct thing to do if you want to renice the program. VLC itself should run as user, bit if you want to renice it, you have to do that as root. Running VLC as root wouldn't bring anything to that. I am talking about renicing a user program in general, it might not even solve you VLC problem.

jlinkels

True - but earlier versions of VLC were grrreat - even if they would not play everything available on earth.

I was hoping VLC would go Firefox way - let users use plug ins etc to support different codecs / themes/ functionality.

Looks like we will be "there" some day HTH
 
Old 10-26-2009, 12:06 PM   #8
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
time to go diggen in the source code and commenting out the hardblock
then recompile it, not as bad as it sounds
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vlc disappear after just start renuaseri Linux - Newbie 4 08-06-2009 01:18 AM
VLC doesn't start dreyfuss Slackware 13 02-10-2008 03:18 PM
vlc doesnt start supersucker Linux - General 3 01-09-2006 03:43 PM
Vlc Can't Start! firstcobra88 Linux - Software 2 07-14-2005 12:12 AM
VLC does not start Ephracis Linux - Software 0 11-20-2004 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration