No Sound Over Remote Desktop

Hi Alma lovers

I successfully created a connection from a windows pc to a server Alma. Layout keyboard and video working fine. No sound though. I heard about a patch on Ubuntu (xRDP – Sound Redirection Support for Pipewire Module – Griffon's IT Library), it creates a sound device only for rdc connections, but I’m not sure if this is the case. If I try to play some audio, it works on server speakers. Any thoughts?

– user added in audio group ;

– OS: AlmaLinux 9.4 (Seafoam Ocelot) x86_64
Kernel: 5.14.0-427.26.1.el9_4.x86_64
CPU: Intel i5-5200U (4) @ 2.700GHz
Gnome 40
xrdp-1:0.10.0-4.el9.x86_64

– Session type Xorg added to /etc/xrdp/xrdp.ini and default
[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
port=-1
code=20

– aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC282 Analog [ALC282 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

Well I gave up xrdc and now I’m using thinlinc. Works nicely and it is floss