LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with gnome-cd (https://www.linuxquestions.org/questions/linux-software-2/problem-with-gnome-cd-80405/)

Nylex 08-09-2003 08:03 AM

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.

jailbait 08-09-2003 12:45 PM

This may be a permissions problem. Check the permissions on your CD device.

Nylex 08-09-2003 12:47 PM

How is this done?

jailbait 08-09-2003 03:28 PM

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

Nylex 08-09-2003 03:40 PM

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.

jailbait 08-09-2003 03:56 PM

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

Nylex 08-10-2003 05:14 AM

Yeah, it does work. My cdrom entry in fstab:

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0

Does it need changing? Thanx.

jailbait 08-10-2003 10:07 AM

"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.

Nylex 08-10-2003 10:30 AM

Ok, no probs. Thanx :).


All times are GMT -5. The time now is 08:06 PM.