In journalctl I see
0225bff0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
Jan 27 10:57:18 raspberrypi4 SRV_PLAY[1430]: error: XDG_RUNTIME_DIR not set in the environment.
Jan 27 10:57:18 raspberrypi4 SRV_PLAY[1430]: error: XDG_RUNTIME_DIR not set in the environment.
Jan 27 10:57:18 raspberrypi4 SRV_PLAY[1430]: error: XDG_RUNTIME_DIR not set in the environment.
and if I run "sudo python3 play.py" I get the same result
0225bff0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
Jan 27 10:57:18 raspberrypi4 SRV_PLAY[1430]: error: XDG_RUNTIME_DIR not set in the environment.
Jan 27 10:57:18 raspberrypi4 SRV_PLAY[1430]: error: XDG_RUNTIME_DIR not set in the environment.
Jan 27 10:57:18 raspberrypi4 SRV_PLAY[1430]: error: XDG_RUNTIME_DIR not set in the environment.
and if I run "sudo python3 play.py" I get the same result
Statistics: Posted by CrabbyPete — Mon Jan 27, 2025 4:32 pm