[pulseaudio-tickets] [Bug 94167] "refusing to start/autospawn" with multi-user setup

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 16 16:41:53 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94167

--- Comment #2 from Rodrigo <rodrigo at sdfg.com.ar> ---
Thanks!

I didn't know that with 2 pulseaudio they won't be allowed to user the sound
card at the same time. I reported the bug because this *used* to work (i.e.
creating 2 pulseaudio). But, with that restriction, I'm fine doing it this way
if this setup is supported =)

Also, your assumption is correct. userB is only used within userA's login
sessions. But, I tried those steps, and keeping the
/etc/xdg/autostart/pulseaudio.desktop file and it doesn't work. I run firefox,
or a an aplay command, and audio doesn't work.

I did exactly those steps, when running (as userA):

  $ sudo -u userB -- aplay /usr/share/sounds/alsa/Front_Center.wav 


It fails with:
  ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
  aplay: main:722: audio open error: No such file or directory


Nothing new in syslog when I run this, so not sure what info do you need.
Permissions on /run/user/1000/pulse/native are srwxrwxrwx+ (I also added the
acl, just in case pulse, but nothing changed).

I'm sorry this is probably not enough to debug, but what other info can I give
you?




Thanks a lot!

Rodrigo

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160216/60d36059/attachment.html>


More information about the pulseaudio-bugs mailing list