LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-09-2009, 07:37 PM   #1
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Exclamation VLC media player rejected to run as root


hi this is raju,
in my SUSE 11.0 system, i had one root user and a normal user.
i can play any media file in normal user account. when i logined as root account , and if i tried to play any media by using VLC it is giving as error like 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).
please suggest any solution to me.
Thank You.
 
Old 02-09-2009, 08:17 PM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,052

Rep: Reputation: 170Reputation: 170
There is an amazingly similar recent thread posted here:

http://www.linuxquestions.org/questi...ccount-703319/

and the advice would be the same.

Basically, it is dangerous to run as root for anything other than pure administrative/maintenance purposes. If you must insist on operating as root, please do not connect to the internet as such irresponsible behaviour puts the sane users of the world at risk.

That being said, if you must insist on operating vlc as root, you must compile vlc with the correct parameters, as indicated in the thread referred to previously.

hth,
 
Old 02-10-2009, 06:08 AM   #3
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
additionally vlc is known for their numerous and dangerous security holes. You could execute code with malformed video containers etc., which is probably the reason, why they prevented it to be run as root.
It's really a bad idea.
 
Old 02-10-2009, 06:14 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Please, only use the root account for administrative tasks.

You can't make a OS foolproof
 
Old 07-24-2010, 05:18 PM   #5
Devyn
Member
 
Registered: Oct 2004
Posts: 60

Rep: Reputation: 15
Just to echo repo's words, if you can avoid it, don't run things from roon that don't need to run from root.

Having said that however, you could potentially do it by running it from a non previlidged account while logged in with your root account. Found some instructions here on how to do that recently as I had the same question. In essence, you would still have some security in this manner:

http://www.microdevsys.com/WordPress...col-specified/

Good Luck!
Devyn
 
Old 12-01-2010, 08:49 PM   #6
mindlessmissy
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
This solution worked for me ...

http://www.linuxquestions.org/questi...piling-748189/
 
Old 12-01-2010, 09:22 PM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 13,481

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
mindlessmissy
why???
VLC should never be ran as root
i take it you also run firefox as root
and have turned off the firewall and turned off SElinux or AppArmor
and have NOT installed firefox's no-script not installed add block plus

and LIKE to run a rootkited system

Last edited by John VV; 12-02-2010 at 05:19 AM.
 
Old 12-01-2010, 09:29 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Quote:
Originally Posted by John VV View Post
mindlessmissy
why VLC should never be ran as root
i take it you also run firefox as root
and have turned off the firewall and turned off SElinux or AppArmor
and have NOT installed firefox's no-script not installed add block plus

and LIKE to run a rootkited system
Hey, here name is mindlessmissy
 
Old 12-02-2010, 04:07 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
Hey, here name is mindlessmissy
Could you elaborate why you want to run vlc as root, or any other app for that matter?

Kind regards
 
Old 12-02-2010, 08:27 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Quote:
Originally Posted by repo View Post
Could you elaborate why you want to run vlc as root, or any other app for that matter?

Kind regards
??? I do not run any app as root, that don't have to be run as root. Maybe you quoted the wrong post, I just wanted to be a little bit sarcastic.
 
Old 12-02-2010, 11:09 AM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
Maybe you quoted the wrong post,
Yes, sorry for that.

Kind regards
 
  


Reply

Tags
media, player, vlc


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 media player nithya_kavitha Linux - Software 2 08-13-2008 08:22 AM
How to Set VLC Media Player as Default .wmv Player JonBL Linux - Software 2 04-24-2008 02:06 AM
VLC Media Player DaftDave Linux - Software 1 04-19-2008 01:23 AM
VLC Media Player marvin00001 Linux - Laptop and Netbook 5 09-12-2006 07:04 AM
VLC Media Player carlosinfl Linux - Software 2 05-04-2006 04:24 PM


All times are GMT -5. The time now is 11:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration