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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-09-2003, 09:03 AM
|
#1
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
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.
|
|
|
08-09-2003, 01:45 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,376
|
This may be a permissions problem. Check the permissions on your CD device.
|
|
|
08-09-2003, 01:47 PM
|
#3
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Original Poster
Rep: 
|
How is this done?
|
|
|
08-09-2003, 04:28 PM
|
#4
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,376
|
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
|
|
|
08-09-2003, 04:40 PM
|
#5
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Original Poster
Rep: 
|
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.
|
|
|
08-09-2003, 04:56 PM
|
#6
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,376
|
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 04:57 PM.
|
|
|
08-10-2003, 06:14 AM
|
#7
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Original Poster
Rep: 
|
Yeah, it does work. My cdrom entry in fstab:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
Does it need changing? Thanx.
|
|
|
08-10-2003, 11:07 AM
|
#8
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,376
|
"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.
|
|
|
08-10-2003, 11:30 AM
|
#9
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Original Poster
Rep: 
|
Ok, no probs. Thanx  .
|
|
|
All times are GMT -5. The time now is 06:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|