On Sat, Nov 04, 2017 at 10:35:16AM +0100, Dominik George wrote: > > currently using xrdp to extablish a remote desktop connection. This > > works rather well. > > > > Unfortunately I'm not getting any sound. > > > > How can I fix this? > > Unfortunately, you can't. While xrdp supports it, we cannot build the > required PulseAudio module in Debian because the PulseAudio devs do not > export the required API.
Maybe just build the PulseAudio modules locally? (Versions apply to Debian Edu Stretch combi server; adjust if needed.) Login as first user (example: jdoe). sudo service xrdp stop (Make sure /etc/apt/sources.list contains a line like deb-src http://deb.debian.org/debian stretch main): sudo apt edit-sources sudo apt update Get sources and build dependencies: sudo apt install dpkg-dev apt source pulseaudio xrdp sudo apt build-dep pulseaudio xrdp For PulseAudio 'configure' is all what is needed: cd pulseaudio-10.0/ ./configure Adjust PulseAudio modules Makefile: cd ../xrdp-0.9.1/sesman/chansrv/pulse/ Edit Makefile's first line (example; absolute path needed): PULSE_DIR = /skole/tjener/home0/jdoe/pulseaudio-10.0 Build the pulseaudio modules: make Copy modules to PulseAudio modules directory: sudo cp *.so /usr/lib/pulse-10.0/modules/ Start xrdp, now w/ sound enabled: sudo service xrdp start Wolfgang
signature.asc
Description: PGP signature