Hello Forum,
I know this is frequently asked, but sometimes it happens and sometimes it doesn't, and none of the solutions I've found apply.
A typical scenario: I get up early in the morning to do some coding, log in to KDE, turn on emms (the Emacs multimedia system), which uses mplayer and ogg123 and mpg321 to play music. I stop emms, but stay logged in and she starts a new KDE session. The sound doesn't work, Firefox locks up on Youtube videos, etc etc.
I thought this was because:
* I was using Fvwm; when I was using Fvwm we'd get the "failure to initialize sound device" error, however I switched back to KDE and we don't get the error message, but sometimes still get the sound problems
* permissions on the audio devices; I've seen this solution on a lot of other forums and for other distros: both of us are members of the audio group, and the permissions on /dev/sound are as follows:
Code:
/home/joel: Zshell> ls -l /dev/sound
total 0
crw-rw--w- 1 root audio 14, 12 2008-01-26 20:24 adsp
crw-rw--w- 1 root audio 14, 4 2008-01-26 20:24 audio
crw-rw--w- 1 root audio 14, 20 2008-01-26 20:24 audio1
crw-rw--w- 1 root audio 14, 3 2008-01-26 20:24 dsp
crw-rw--w- 1 root audio 14, 19 2008-01-26 20:24 dsp1
crw-rw--w- 1 root audio 14, 0 2008-01-26 20:24 mixer
crw-rw--w- 1 root audio 14, 16 2008-01-26 20:24 mixer1
crw-rw--w- 1 root audio 14, 1 2008-01-26 20:24 sequencer
crw-rw--w- 1 root audio 14, 8 2008-01-26 20:24 sequencer2
* somebody (me) left a music player program open, thus locking the devices: I just tried this: went over to my wife's desktop, started Amarok playing "I Love the Nightlife," then stopped playback, left Amarok open and went back to my desktop, opened a new instance of Amarok and played 10,000 Maniacs. All with sound that worked. I also played a video on Youtube, and it worked perfectly.
If this has been solved on Slackware, please point me in the right direction. For right now it seems the only safe thing to do is for us not to have multiple sessions open, which is a kind of a drag.
Thanks for any suggestions,
Joel