LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can play DVDs only as root (https://www.linuxquestions.org/questions/slackware-14/can-play-dvds-only-as-root-614099/)

Melkor 01-16-2008 05:54 PM

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?

jailbait 01-16-2008 06:06 PM

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

onebuck 01-16-2008 07:52 PM

Hi,

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

Code:

floppy audio video cdrom plugdev

Carpo 01-16-2008 11:29 PM

chmod 666 /dev/dvd
chmod 666 /dev/cdrom

Melkor 01-17-2008 11:01 AM

I added myself to the video group and that did it. Thanks.

H_TeXMeX_H 01-17-2008 12:01 PM

Quote:

Originally Posted by Carpo (Post 3025331)
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 :)

Carpo 01-17-2008 12:06 PM

stays as 666 here

Melkor 01-17-2008 03:48 PM

The permissions OF DOOOOOOOOOOOM

Carpo 01-17-2008 03:50 PM

the permissions to allow dvd burning under k3b too :D

Melkor 01-17-2008 04:08 PM

Quote:

Originally Posted by Carpo (Post 3026269)
the permissions to allow dvd burning under k3b too :D

Aha.... I hadn't thought of that. Good point.


All times are GMT -5. The time now is 05:15 AM.