This is on debian buster (lightdm). user1 gets sound. user2 gets:
$ aplay linkto/file.wav
ALSA lib pulse.c:243:(pulse_connect) PulseAudio:
Unable to connect: Connection refused
aplay: main:828: audio open error: Connection refused
##########
$ pavucontrol
(pavucontrol:14452): dbind-WARNING **: 17:55:12.478: Couldn't
register with accessibility bus: Did not receive a reply.
Possible causes include: the remote application did not send a
reply, the message bus security policy blocked the reply, the
reply timeout expired, or the network connection was broken.
##########
$ alsamixer
ALSA lib pulse.c:243:(pulse_connect) PulseAudio:
Unable to connect: Connection refused
cannot open mixer: Connection refused
##########
/etc/group:
audio:x:29:pulse,user1,user2
pulse:x:116:user1,user2
pulse-access:x:117:user1,user2
##########
cat ~/.config/pavucontrol.ini:
[window]
width=682
height=400
sinkInputType=1
sourceOutputType=1
sinkType=0
sourceType=1
##########
cat ~/.config/autostart/pulseaudio.desktop
[Desktop Entry]
Type=Application
Terminal=false
_OnlyShowIn_=GNOME;KDE;lightdm
Exec=pulseaudio
Name=pulseaudio
Comment=Volume/audio controls
##########
ls ~/.config/pulse
cookie
dfd104153ad64a87b738b386fcef7832-card-database.tdb
dfd104153ad64a87b738b386fcef7832-default-sink
dfd104153ad64a87b738b386fcef7832-default-source
dfd104153ad64a87b738b386fcef7832-device-volumes.tdb
dfd104153ad64a87b738b386fcef7832-stream-volumes.tdb
##########
cat ~/.config/pulse/dfd104153ad64a87b738b386fcef7832-default-sink
alsa_output.pci-0000_00_1f.3.analog-stereo
##########
Sound used to work fine when it was on debian
wheezy.
_______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss