A tale of debuggery as told by an idiot, or how I got DVD playback working on openSUSE 11.1
- If you haven't already then install the "restricted" multimedia formats. Then, using YaST2, install VLC. That's because trying to play back DVDs with Kaffeine results in an annoying popup dialog that says: "This version of Xine (used by Kaffeine) has only a reduced set of supported codecs. It is not able to play DVDs. Read http://en.opensuse.org/XINE for further details." Which, if you do go to the site, says you should install the "restricted" codecs. The problem is that the version of Kaffeine that is installed with the public LiveCD is hard coded to display the dialog and ignore the codecs you install. Thus installing the codecs still won't allow you to play back DVDs with Kaffeine.
- Start YaST (on Kickstart's Computer tab at the very top).
- When the 'Run as root...' dialog asks for root's password give it your login password. That's right, openSUSE 11.1 behaves like Ubuntu with regards to rootly powers. There is no root, only you.
- Click on 'Security and Users' (on the left) and start 'User and Group Management' (on the right).
- On your entry in the Users tab, click Edit at the bottom.
- On the new screen set click the Details tab.
- In the Additional Groups window on the right check the disk group checkbox. That's right, you need to be a part of group 'disk' to access the DVD device. Or at least that's how it is on my system.
- Once selected click the OK button, and exit all of YaST.
- Then logout and log back in again.
- Start VLC and select the drive to play. Sit back and enjoy.
Don't Do ThisBecause of the Kaffeine dialog I went off and downloaded libxine and a xine UI, and then built both. I installed both under /opt/xine and then attempted to play my movies back via Xine. Why? Kaffeine is a front-end to libxine, and I figured I could rebuild the libraries myself (that and the fact I don't like Kaffeine). So after spending time installing all the developer packages for all the other libraries that libxine depends on, I got it built and installed only to run into the permissions problem. If I'd installed VLC first and then tried to run VLC, I'd have seen nearly the same error message and fixed my problem a lot quicker.
Sometimes trying to be too clever can make you look real dumb.