pulseaudio-module-xrdp doesn't work when pulseaudio is invoked via systemd
Summary
i'm using xrdp and setup https://github.com/neutrinolabs/pulseaudio-module-xrdp on debian 11. pulseaudio is there startet via a systemd user unit: because of that some environment variables are missing for the pulseaudio-module-xrdp.
with debian 10 it worked: there pulseaudio was startet via "autostart" and so, the environment variables where correctly set.
Steps to reproduce
install xrdp on debian 11 install + configure https://github.com/neutrinolabs/pulseaudio-module-xrdp login from client with xfreerdp /sound:sys:pulse /v:servername
What is the current bug behavior?
no sound via rdp connection.
What is the expected correct behavior?
sound via rdp connection.