LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-09-2003, 08:03 AM   #1
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
Old 08-09-2003, 12:45 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
This may be a permissions problem. Check the permissions on your CD device.
 
Old 08-09-2003, 12:47 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
How is this done?
 
Old 08-09-2003, 03:28 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
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
 
Old 08-09-2003, 03:40 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-09-2003, 03:56 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
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

Last edited by jailbait; 08-09-2003 at 03:57 PM.
 
Old 08-10-2003, 05:14 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Yeah, it does work. My cdrom entry in fstab:

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

Does it need changing? Thanx.
 
Old 08-10-2003, 10:07 AM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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.
 
Old 08-10-2003, 10:30 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Ok, no probs. Thanx .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome Problem Ardour Linux - Software 1 01-04-2005 05:40 AM
Gnome 2.8 instalation problem on Slack 10.0 - gnome-vfs mmmm Slackware 4 12-27-2004 01:25 PM
Palm and Gnome: problem with gnome-pilot and how to view/edit memopad entries lhoff Linux - Software 4 12-07-2004 11:55 AM
Gnome 2.4 to 2.6 , any problem? moeminhtun Linux - Software 1 06-19-2004 08:49 AM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration