LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-18-2003, 12:01 PM   #1
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Xine and root privileges


I've tried running Xine without root privileges and it can't play VCD, etc. I do not yet have traced the source of the problem. I'm running Debian SID (unstable). Using root privileges it works fine ... without it doesnt.

Any help is greatly appreciated.


My user is markus and is a member of the audio group (playing music works just fine).
 
Old 08-18-2003, 03:23 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Original Poster
Rep: Reputation: 46
HOWTO solve the problem

Okay after taking out my favourite tool (lsof) I found out that it was a permission problem in /dev as you can see.

First of all start x11 as root and open up xine and play a movie. Now enter the console and execute the following:

ps auxw | grep xine | awk '{print $2}' | while read pid; do lsof -p $pid; done | awk '{print $8}' | grep ^/dev | sort | uniq

Which will return (in my case; /dev/hdc = cd-r drive)

/dev/dsp
/dev/hdc
/dev/tty1

and the default permissions:

Code:
crw-rw----    1 root     audio     14,   3 Mar 14  2002 /dev/dsp
brw-rw----    1 root     disk      22,   0 Mar 14  2002 /dev/hdc
crw-------    1 markus   tty        4,   1 Aug 18 22:13 /dev/tty1
As you can see you either require to modify something in /dev - which I would not recommend except for some group change or you need to add the user allowed to plax xine stuff to those groups.
 
  


Reply



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
USB HD Needs Root Privileges rrrssssss Linux - Hardware 3 11-13-2005 04:08 PM
Root privileges for user ar1 Linux - Security 2 01-07-2005 09:33 PM
How to mount without root privileges? ni0wn Slackware 3 09-15-2004 05:03 PM
User with root privileges ShakyJake Linux - Newbie 2 06-18-2004 12:12 PM
root privileges and permissions evil_lafta Slackware 7 08-20-2003 09:37 PM

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

All times are GMT -5. The time now is 10:12 AM.

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