I would like to tel you about my experience with opensuse 11.1 and video playback with css protected disks.
I installed openSUSE without any problems.
Then added the packman repository and http://suse.linuxin.dk/repo/11.1/
for libdvdcss and installed al the restricted stuff.
Finally I could play video’s with xine, but only as root.
Checking the permissions i found:
nico@elcheapo:~/Documents> ls -l /dev/dvd
lrwxrwxrwx 1 root root 3 2008-12-22 13:37 /dev/dvd → sr0
nico@elcheapo:~/Documents> ls -l /dev/sr0
brw-rw---- 1 root disk 11, 0 2008-12-22 13:37 /dev/sr0
Note that /dev/sr0 is group disk.
I added myself to this group in /etc/group and after logging out and in again I couls use xine in my own account.
Hmm, that’s rather dangerous because the hard disks are also in group disk, so it means that anybody with your account privileges can read the raw disk and look for things like passwords. Shouldn’t the DVD devices belong to group cdrom and resmgr gives you access to cdrom when you login at the GUI console?
You me be right, but this is the situation I found after installing from the Live cd.
Could it be because the dvd drive is the only device on the only IDE interface and is jumpered as master? My hard drive is on the sata controller of an 750/630a nforce chipset.
Thanks for the answer.
My opensuse 11.0 PC that I am working on now does not have the problem, i.e. I can play dvd video without adding myself to the ‘disk’ group.
I will try the workaround as soon as I have the time.
I have the same problem. Did just the same as nvliet, installed OpenSuse 11.1 without problems, added the libdvdcss stuff and presto, no access to dvd. I couldn’t even add programs from the dvd, had to remove it from the list of upgrade sources.
Now when I insert a DVD video in the drive it appears on the Desktop. When I choose open with Totem it starts Totem but it stops with a message: Error: Cannot read the resource (translation from finnish error message)
I forgot to mention that codecs-kde is also installed, but still not any answer. I DVD device is detected, but when i insert DVD videos to device, got errror message from Kaffeine: this version of Xine doesn’t support codecs.
The reason why my suse 11.0 based media center can play dvd’s is obvious, however I can’t remember adding the user “nijs” to the disk group. I surely wouldn’t have done this myself. The user “admin” also got in there on its own.
So I guess the reason it doesn’t work anymore really is the rights thingy.
The best way to solve this seems to me to add yourself to the “cdrom” group, which seems to exist already and change the group owner of /dev/sr0 to cdrom. I only don’t know how to let this setting survive a reboot.
In my case, I do chmod 666 /dev/sr0. It solved my current problem
Try to add your user id to disk and cdrom group by using YAST | Security & Users| User & Group Management. Choose your id and then Edit |Detail
Used acl to give proper access control setting view plaincopy to clipboardprint?
setfacl -m your-user-gid:rw /dev/sr0
setfacl -m your-user-gid:rw /dev/sr0
Check status of /dev/sr0 with ls -l /dev/sr0 and checked if it has ‘+’ sign. Please refer to this for assistance
Make your user a member of “cdrom” group by following step 2 and then create /etc/udev/rules.d/99-my.rules file with the following entry : KERNEL==”sr*[0-9]“, GROUP=”cdrom”, MODE=”0660″ and then reboot
Patch /usr/share/PolicyKit/policy/org.freedesktop.hal.device-access.policy. Refer to this patch for assistance.
ok I tested all that, It solved the problem with K3b but I still can`t play any DVD movies, it display the “dvdread could not open the disk /dev/sr0” error even as root, I tested with VLC, mplayer Smplayer and xine.