Per-user pulseaudio dbus module fails on 2nd user login
Submitted by ric..@..com.au
Assigned to pul..@..op.org
Description
When per-user pulseaudio instance is started at xsession login, further login by same user breaks pulseaudio from appearing on dbus.
Steps to reproduce:
-
Login to xsession
-
Open xterm and issue: ~ $ qdbus | grep -i pulse Expected output should be similar to: org.PulseAudio1 org.pulseaudio.Server
-
Logout and back into xsession
-
Open xterm and issue: ~ $ qdbus | grep -i pulse No output, pulseaudio is not present on dbus
Unloading/loading the module-dbus-protocol using pactl does succeed but unfortunately pulseaudio will still not appear on dbus.
Only workaround found so far is to pkill pulseaudio process and restart it at each login by changing line in /etc/xdg/autostart/pulseaudio.desktop from: Exec=start-pulseaudio-x11 to be instead: Exec=sh -c "pkill pulseaudio; start-pulseaudio-x11"
Thanks :)