Xrdp - no audio. Dummy Output is only device.
I'm running xrdp on a Slackware 15 box. I can rdp into the box with ease. works great. However, there is no audio output. If I look at pulse volume applet, the only output device is "Dummy Output". If I play an audio file, the level bar on Dummy Output responds, so apparently audio is being routed to this Dummy Output.
So my question is - how does one route this dummy output to physical audio device, or otherwise get audio to work? In this case, I don't care much if it comes out of the box itself, or gets piped to the box I'm using to remote in though I'd prefer if it came out of the physical box. |
Did you build the audio bit of Xrdp?
https://github.com/neutrinolabs/puls...dp/wiki/README |
Quote:
On the xrdp session I see playback volume meter moving. The output device xrdp output also shows volume meter moving. Nothing comes out of speakers on either box. Edit: ls $(pkg-config --variable=modlibexecdir libpulse) | grep xrdp gives: module-xrdp-sink.la module-xrdp-sink.so module-xrdp-source.la module-xrdp-source.so |
Taadaa
-r sound:local This passes sound to box I'm remoting from, and works. -r sound:remote doesn't seem to work at least it doesn't allow sound to play on server. I might be missing something here. |
Just in case that was too ambiguous, this is how I start rdesktop to get sound to pipe through:
rdesktop -u <user id> -p <password> -a 16 -z -g 1910x1030 <server ip> -r sound:local Without -r sound:local, there is no sound,. |
I left pulseaudio for pipewire
After a lot of trail and mostly err with pulseaudio I kept on digging, then I found that distro's and XRDP have been moving on to the pipewire audio system.
As soon as I did that too , and after installing compiling and installing the drivers for pipewire, everything worked as a charm. apt install build-essential git autoconf libtool apt install pipewire pipewire-audio pipewire-bin libpipewire-0.3-dev libspa-0.2-dev git clone https://github.com/neutrinolabs/pipe...odule-xrdp.git and follow the readme: it is basically just ./configure and ./make and ./make install Good luck, hope this helps someone with xrdp! |
All times are GMT -5. The time now is 01:57 PM. |