LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2008, 05:54 PM   #1
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Rep: Reputation: 34
Question Can play DVDs only as root


I can play DVDs on my laptop with Xine, but only if I run Xine as root (I usually start it with "kdesu xine" and provide my root password).

Is there a way for me to do so without the "kdesu" and play DVDs on my laptop as a non-root user?

I'm running Slackware current (from an ISO made on January 8th), using kernel 2.6.23.12, KDE 3.5.7, nothing too crazy aside from that.

Any suggestions?
 
Old 01-16-2008, 06:06 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
The first thing to do is find out what user cannot use. You could check out the ownership and permissions for xine and your DVD device. For xine:

which xine

Then wherever xine is located:

ls -l /pathname/xine

Look in /etc/fstab and find out what device your DVD is located on and then:

ls -l /dev/dvd1 (or whatever)

-----------------------------
Steve Stites
 
Old 01-16-2008, 07:52 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Make sure you have the user(s) in the proper groups;

Code:
floppy audio video cdrom plugdev

Last edited by onebuck; 01-16-2008 at 07:54 PM. Reason: forgot to add the groups
 
Old 01-16-2008, 11:29 PM   #4
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Rep: Reputation: 30
chmod 666 /dev/dvd
chmod 666 /dev/cdrom
 
Old 01-17-2008, 11:01 AM   #5
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Original Poster
Rep: Reputation: 34
I added myself to the video group and that did it. Thanks.
 
Old 01-17-2008, 12:01 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by Carpo View Post
chmod 666 /dev/dvd
chmod 666 /dev/cdrom
Note that this is only a temporary solution, it would reset after reboot.

This also means that the only one who can access those files is Satan
 
Old 01-17-2008, 12:06 PM   #7
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Rep: Reputation: 30
stays as 666 here
 
Old 01-17-2008, 03:48 PM   #8
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Original Poster
Rep: Reputation: 34
The permissions OF DOOOOOOOOOOOM
 
Old 01-17-2008, 03:50 PM   #9
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Rep: Reputation: 30
the permissions to allow dvd burning under k3b too
 
Old 01-17-2008, 04:08 PM   #10
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by Carpo View Post
the permissions to allow dvd burning under k3b too
Aha.... I hadn't thought of that. Good point.
 
  


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
Cant play dvds meniscus Linux - Newbie 5 12-05-2006 09:06 AM
cant get dvds to play kamowa Linux - Software 1 01-10-2006 11:29 AM
How do I play DVDs? NightMICU Linux - Newbie 12 08-16-2005 12:23 PM
How do I play DVDs? vincebs Linux - Software 6 03-16-2004 04:35 PM
cant play DVDs!!!!! debloxie Mandriva 4 12-13-2003 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:06 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