| View previous topic :: View next topic |
| Author |
Message |
dead_parrot n00b

Joined: 26 Mar 2012 Posts: 12 Location: /EU/PL
|
Posted: Wed Aug 15, 2012 7:44 pm Post subject: Failed to initialize audio driver 'alsa' -sometimes |
|
|
Hi,
I have a strange problem with an access to alsa output which appears sometimes when logged on as a second user. It is the following sequence that reproduces the problem:
1. user 1 is logged on
2. user 1 logs off
3. user 2 logs in
4. user 2 have a sound problem.
Skype and system sounds work fine, but web browsers and mplayer don't. Mplayer gives the following message
| Code: |
[AO_ALSA] alsa-lib: pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore
[AO_ALSA] Playback open error: Permission denied
Failed to initialize audio driver 'alsa'
|
If I run mplayer as a root it works.
I would be very thankful for any help. |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7020
|
Posted: Wed Aug 15, 2012 9:13 pm Post subject: |
|
|
See if PAM is interfering:
find /etc/security -type f | xargs grep sound |
|
| Back to top |
|
 |
dead_parrot n00b

Joined: 26 Mar 2012 Posts: 12 Location: /EU/PL
|
Posted: Thu Aug 16, 2012 6:48 pm Post subject: |
|
|
| Code: |
find /etc/security -type f | xargs grep sound
|
gives
| Code: |
/etc/security/group.conf:# floppy, play, sound
/etc/security/group.conf:# the sound and play group) after work hours.
/etc/security/group.conf:#xsh; tty* ;sword;!Wk0900-1800;sound, play
|
nothing special, I guess. |
|
| Back to top |
|
 |
aCOSwt Advocate


Joined: 19 Oct 2007 Posts: 2035 Location: Between the keyboard and the chair
|
Posted: Thu Aug 16, 2012 7:18 pm Post subject: Re: Failed to initialize audio driver 'alsa' -sometimes |
|
|
| dead_parrot wrote: |
| Code: |
[AO_ALSA] alsa-lib: pcm_dmix.c:985:(snd_pcm_dmix_open) unable to create IPC semaphore |
|
Please post the output of :
1/ Before user1 logs out
2/ After user2 logs in _________________ In theory there are no differences between theory and practice. In practice, there are.
Don't try to understand my posts. Immanuel Kant never did, he thinks that only music and laughter do not have to mean anything. |
|
| Back to top |
|
 |
dead_parrot n00b

Joined: 26 Mar 2012 Posts: 12 Location: /EU/PL
|
Posted: Wed Aug 22, 2012 6:40 pm Post subject: |
|
|
| Thanks for the answer. It's strange, but now I can't reproduce this error. If it's not gone, I will return with the feedback ASAP. |
|
| Back to top |
|
 |
|