Problem with gnome-cd
I can't play CDs unless I run it as root. When I run as my normal user, it says 'Drive error' and in the console:
bash-2.05b$ gnome-cd ** (gnome-cd:816): WARNING **: Error opening CD As root, I also get an error message (but at least it works): bash-2.05b# gnome-cd (gnome-cd:837): GnomeUI-WARNING **: While connecting to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed. Any help appreciated. Thanx. |
This may be a permissions problem. Check the permissions on your CD device.
|
How is this done?
|
To check the permissions on your CD device:
Log in as root and open a terminal. You have a device called /dev/cdrom which is a symbolic link to the device that is your CD device. Type in: ls -l /dev/cdrom to find out where /dev/cdrom points to. Check the permissions on your CD device with: ls -l /dev/whatever |
root@nick:/home/nick# ls -l /dev/cdrom
lrwxrwxrwx 1 root root 8 Aug 8 10:40 /dev/cdrom -> /dev/hdc root@nick:/home/nick# ls -l /dev/hdc brw-rw---- 1 root disk 22, 0 Jun 9 2002 /dev/hdc Not actually sure what any of it means, apart from the symlink. |
brw-rw---- 1 root disk 22, 0 Jun 9 2002 /dev/hdc
means that root can read and write to /dev/hdc but nobody else can. Try changing the /dev/hdc permissions to 777 which means that anybody can do anything they want with the CD. The command is: chmod 777 /dev/hdc If that works and user can play CDs then you may also have to change the cdrom entry in /etc/fstab. My cdrom entry in /etc/fstab looks like this: /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 |
Yeah, it does work. My cdrom entry in fstab:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 Does it need changing? Thanx. |
"Does it need changing?"
No. I put in the info about /etc/fstab in case you changed the permissions and it still did not work. Then the next possibility was /etc/fstab. |
Ok, no probs. Thanx :).
|
All times are GMT -5. The time now is 08:06 PM. |