Dear all,
I am not too confident that this is the right place to ask, but I’ll do
it anyway. Has anyone ever successfully been redirecting sound from a
remote Debian 12 server via guacamole using xrdp? I’m out of ideas, but
I’m also not a pro, so...
This is my setup: Up-to-date /Debian 12/ rental server with /Xfce4/
installed that I connect to with /Guacamole 1.5.4/ over /RDP/ (same
problems with 1.5.5.)
Packages /freerdp2-dev, xrdp, xorgxrdp, pulseaudio, pulseaudio-utils/,
and pavucontrol installed from the renter’s repos (same versions as
Debian’s).
I built the /pulseaudio-module-xrdp/ as described here
<https://github.com/neutrinolabs/pulseaudio-module-xrdp/wiki/Build-on-Debian-or-Ubuntu>
as user. The user is member of the groups /sudo, audio, pulse/, and
/pulse-access/.
In the //etc/guacamole/user.xml /file I set
/ <param name="disable-audio">false</param>/
/ <param name="enable-audio-input">true</param>/
The connection with the desktop is fine, when I play a stream via the
remote browser pavucontrol shows me that there is an audio signal over
‚/xrdp-sink/‘. No sound.
I also tried the xrdp easy install script from c-nergy.be that compiles
a brand new version of xrdp and (at least this was my understanding)
promises to get all the configurations right.
Again, pavucontrol shows there is a signal, the name of the sink is
slightly different. However – no sound at my end of the guacamole
connection.
/systemctl --user status pulseaudio/ tells me the process is active
(running), but also shows the logging messages
: /Build library version 16.1.0/
/ : sink_process_msg: not running/
/ : close_ send:/
(the latter two repeatedly) Which process would that be?
I put these lines in //etc/pulse/default.pa/ and later in
//etc/xrdp/pulse/default.pa/:
/load-module module-esound-protocol-tcp auth-anonymous=1/
/ load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
auth-anonymous=1/
(without really understanding what I did).
I checked all available boxes in the first two tabs of /paprefs/.
And since /xrdp/ kept on complaining in the logs I added user /xrdp/ to
group /ssl-cert/.
As I said, the connection is fine apart from missing sound.
Could anyone nudge me in the right direction, please? Any special
file(s) to connect pulseaudio to Guacamole?
Thanks for bearing with me,
Thorsten