Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-18-2003, 01:01 PM   #1
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, 04:23 PM   #2
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)


and the default permissions:

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.


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

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

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