[pulseaudio-discuss] One user gets sound, the other doesn't

Alan Greenberger alanjg at ptd.net
Fri Mar 26 00:37:09 UTC 2021


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20210325/f3227a78/attachment.htm>


More information about the pulseaudio-discuss mailing list