I recently started taking advantage of KDM, but I noticed when I started booting directly into runlevel 4, both xconfig and libdvdread stopped working. I have no idea why, and everything else works just great with KDM. I can boot the DVD, look at the contents of the drive, boot cd's (it's a combo CD-RW/DVD-ROM). Both libdvdead and xconfig work fine if I boot into a standard console and type "startx." Here are the details:
****I set up KDM by editing /etc/inittab and specifying 4 as the default runlevel. I then commented out the sections for GDM in /etc/rc.d/rc.4, leaving both the KDM and XDM entries uncommented (the script looks for KDM before XDM, so I figured that would be fine). I then made the script executable. I have not tried using XDM. I've never used XDM and I'm not sure what will happen.
****I'm running Slack 11.0, kept up to date with slapt-get tracking 11.0. Kernel 220.127.116.11 (though this problem happened using 18.104.22.168 and maybe a few more releases back). The machine is a Dell Inspiron 5150 (it's a real P.O.S, for the record) with a Pentium 4 and 512mb of memory.
****libdvdread returns this error after starting mplayer in console ("gmplayer"):
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd
File not found: '1'
Failed to open dvd://1.
libdvdcss is installed (using Slackbuild script). Mplayer works fine (expect in this case), and was built using a Slackbuild script as well.
****xconfig returns this error when started in console:
root@linux:/usr/src/linux# make xconfig
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
qconf: cannot connect to X server :0
make: *** [xconfig] Error 1
make: *** [xconfig] Error 2
I don't even know where to start to diagnose this. Any help is appreciated. Thanks in advance!