Log in

View Full Version : dvd with xine


the oil
7th September 2003, 14:02
hi,

short question:
i'm using xine 0.9.21 with libdvdnav, libdvdcss etc.
watching dvd's as root works fine, but when i try to do so as a user xine tells me that it wasn't able to open the dvd using libdvdcss
here is the exact output i get...

libdvdnav: Using dvdnav version 1-beta12 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.7 for DVD access
libdvdread: Could not open /dev/cdrom with libdvdcss.
libdvdread: Can't open /dev/cdrom for reading
libdvdnav: vm: faild to open/read the DVD

the dvd device is set to /dev/cdrom

can anyone explain to me why it doesn't work and how to fix it ?

thanks a lot in advance !

ryouga
7th September 2003, 15:22
You might want to chmod /dev/cdrom . Make sure it's world-readable and writable; or make yourself the owner with chown... for me, xine dvd:/ works perfectly, and I have it set up to fullscreen and everything on my TV :)

the oil
8th September 2003, 12:09
ok, found the issue. the user had the rights for /dev/cdrom but this was only a link - the user did not have reading rights for the "real" device.

thanks again.