[pulseaudio-discuss] pacmd ignores PULSE_SERVER env var

Sean Greenslade sean at seangreenslade.com
Wed Nov 9 16:52:33 UTC 2022


On Sun, Nov 06, 2022 at 07:02:03PM +0000, Tudor Zaharia wrote:
> Hello,
> 
> Following this documentation page https://wiki.archlinux.org/title/PulseAudio 
> I am setting the PULSE_SERVER env var to point to a pulseaudio server that runs inside a docker container.
> 
> Unfortunately the "pacmd" command seems to ignore this env var and query instead the local machine. Am I doing something wrong? Is this the expected behavior?
> pactl command works as expected though.
> 
> $ pacmd --ver
> pacmd 13.99.1
> Compiled with libpulse 13.99.0
> Linked with libpulse 13.99.0

As a brief (but hopefully helpful) answer, I can confirm that pacmd
indeed ignores PULSE_SERVER. pactl, on the other hand, respects
PULSE_SEVER. Are you able to use pactl instead?

--Sean



More information about the pulseaudio-discuss mailing list