Unable To Use X-Media Player

Question: I tried to mount a CD and play it X-Media Player. Unfortunately all the files in the CD are not showing up. I tried another CD with the same results. Kindly help my in this regard. Thank You.

Answer: To play a cd in xmms, do not mount it. I know it's weird, but xmms reads the cd as a raw audio cd. If you mount it, it can't directly access the device.

Question: I tried this. Just added the disk and then pressed the play button on the Player. It opened a window asking me to select files from a directory. Please help.

Answer: 1) If the playlist box isn't open, click in it on the xmms player (middle right, button marked PL)
2) Bottom left of the playlist is a button marked "Add"; click and hold, a menu will pop up, move mouse above the "Dir" (2nd button) and release; another menu should appear with a list of directories;
3) Select /mnt/cdrom and click OK
4) The playlist should now have songs in it,
5) Press play and listen away!

Question: I am able to play CD files when I log in as root right at start.

Answer: You probably have the wrong permissions on the sound device. As root do this:
chmod 622 /dev/dsp and chmod 666 /dev/mixer
Check with ls -l /mnt/cdrom what's the real cdrom device and then give all read rights for it.

Example

Code:
bash-2.05b$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 8 May 1 16:44 /dev/cdrom -> /dev/hdc
bash-2.05b$ ls -l /dev/hdc
brw-rw---- 1 root disk 22, 0 Oct 13 2002 /dev/hdc
bash-2.05b$ sudo chmod a+r /dev/hdc
bash-2.05b$ ls -l /dev/hdc
brw-rw-r-- 1 root disk 22, 0 Oct 13 2002 /dev/hdc
So basically, just load the cd device in xmms without mounting it.