LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2006, 08:31 PM   #1
Jedi_Jay87
Member
 
Registered: Mar 2006
Distribution: slackware, zenwalk, mint
Posts: 48

Rep: Reputation: 15
cant get cds to play


I'm running slackward 10.2, and i can mount data cds and read them in my user account , but i cant play audo cds in anything but root, when im in my user account it tells me:
CD-ROM read or access error (or no audio disc in drive).
Please make sure you have access persmissions to: /dev/cdrom
 
Old 05-11-2006, 08:49 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You can not mount music CD. You have to use programs like xmms, mplayer, xine to tell them to open up /mnt/cdrom or /dev/cdrom. Usually /dev/cdrom is an symbolic link that points to the raw disks.

Post what ls -l /dev/cdrom prints out. Also print out ls -l /dev/hd[a-z].

Some distributions set a group for the cdrom drive. If the user is not in the cdrom group, the user will not have any write or read access.
 
Old 05-11-2006, 08:53 PM   #3
Jedi_Jay87
Member
 
Registered: Mar 2006
Distribution: slackware, zenwalk, mint
Posts: 48

Original Poster
Rep: Reputation: 15
yes i know that message is what i get when i open xmms,
ls -l /dev/cdrom is :lrwxrwxrwx 1 root root 8 2006-05-11 12:33 /dev/cdrom -> /dev/hdb

ls -l /dev/hdb is :brw-rw---- 1 root disk 3, 64 2002-06-09 19:27 /dev/hdb
 
Old 05-11-2006, 09:15 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Is the user in the disk group.
 
Old 05-11-2006, 09:15 PM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
make sure you are added to the groups audio and cdrom
 
Old 05-11-2006, 09:21 PM   #6
Jedi_Jay87
Member
 
Registered: Mar 2006
Distribution: slackware, zenwalk, mint
Posts: 48

Original Poster
Rep: Reputation: 15
yeah im in all of those groups.
 
Old 05-11-2006, 10:28 PM   #7
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
hmmm, what does you fstab look like? does the cdrom line options entry say "owner" or "user"?
 
Old 05-11-2006, 11:02 PM   #8
Jedi_Jay87
Member
 
Registered: Mar 2006
Distribution: slackware, zenwalk, mint
Posts: 48

Original Poster
Rep: Reputation: 15
heres my fstab:

/dev/hda2 swap swap defaults 0 0
/dev/hda1 / ext2 defaults 1 1
/dev/cdrom /mnt/cdrom auto noauto,owner,user 0 0
/dev/sda1 /mnt/usb auto noauto,owner,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

the sda1 is my flashdrive
 
Old 05-11-2006, 11:24 PM   #9
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Try this:

/dev/cdrom /mnt/cdrom auto noauto,ro,exec,users 0 0

KC
 
Old 05-11-2006, 11:42 PM   #10
Jedi_Jay87
Member
 
Registered: Mar 2006
Distribution: slackware, zenwalk, mint
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks everybody, that last segestion by kencaz did the trick.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can play cds chrismiceli Linux - General 2 08-04-2005 05:47 AM
Can't play audio cds p1az Fedora 3 06-01-2004 07:15 PM
I can't PLAY CDs oicdn Linux - Software 12 03-24-2004 07:07 AM
I cant play cds justinbm Red Hat 2 10-15-2003 11:09 AM
Can't play cds helloyo Linux - Software 18 10-14-2003 11:32 AM


All times are GMT -5. The time now is 12:20 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration