Keith Watson keith.watson@kewill.com wrote:
Easy-peasy if you're using Debian (or any one of half a dozen other distros).
hold down alt and then press F1 (or F2, F3, F4.....) and a command session will appear (to get back to the desktop just hold down alt and press F7 - if you're using Debian that is :o) ).
He's in X... if you say these things, get 'em right, for X to one of those you'll want Ctrl-Alt-F1 etc.
Now, I'd rather suggest opening an xterm... once you've got one of those...
su - <put in root password>
mount (look at output and decide what is the cdrom drive, usually mounted around /cdrom or /media/cdrom or /mnt/cdrom)
umount /mountpoint/of/cdrom/drive
if that fails, then use fuser as follows to find out what we're running that's got hold of it.
fuser -c -u /mountpoint/of/cdrom/drive
using ps and some grepping, you should be able to find out what has got hold of the cd drive and either kill or close it.
Hope that helps,