pulseaudio-module-xrdp icon indicating copy to clipboard operation
pulseaudio-module-xrdp copied to clipboard

Why does this need to be compiled?..

Open tbone2k-git opened this issue 1 year ago • 2 comments

Hello there! o)

Just a question, why is there a need to compile the xrdp sinks? I read it's needs to be compiled against the pulse version installed, but what exactly has to match? Why is it not possible to simply install a package (if there was one) which is working hand in hand with an already installed pulseaudio subsystem?

I tried to get xrdp sound working for the x-th time now, it just does not seem to be possible for me. I get moving audio meters, but no sound. I successfully used your script(s) and all went fine it seems from the log output. I don't have a xrdp-sink in the pulseaudio mixer, I had it on a another attempt though, now I only have "dummy-output". I'm on Debian 12 stable.

I also wonder whether I need to configure anything after doing the compile job? Do I need specific things installed regarding xorg, xrdp or pulse? I was able to get sound from the remote machine by simply setting the $PULSE_SERVER env variable to the IP of another machine, which played the audio quite ok, but that is a workaround of course.

Is there anything I need to configure with DBUS or the xrdp launcher script or XFCE? It's all just a lot of lose pieces and only a very selected group of people seem to be able to solve this puzzle, which leaves me puzzled! o))

Thank you for your efforts and time! o) tbone2k

tbone2k-git avatar Apr 05 '24 20:04 tbone2k-git

With "just install a package" I don't necessarily mean a distro package, some bundled binaries and config files would be fine as well. I would probably succeed putting them somewhere into the system and "boom!", have it working? I don't know.. o) Why is everyone required to compile this, do the resulting binaries on each distro actually differ? Do they differ for various pulseaudio version? I would assume pulseaudio has an API which could work for a broad spectrum of clients, just like any music player also does not need to be compiled for a specific pulseaudio version.

I am a linux noob, please forgive me for my naive questions, I just try to learn! o) Thank you in advance! o)

tbone2k-git avatar Apr 05 '24 21:04 tbone2k-git

@tbone2k-git - you need to compile this as pulseaudio doesn't support out-of-tree builds. You need not only a complete pulse audio source tree, but a working configuration too.

This isn't the the case for the pipewire module, which is currently being submitted as a Debian package, although it isn't available yet.

Check your Debian 12 installation isn't using pipewire with the pactl info command. I believe the default for Debian 12 is pipewire.

matt335672 avatar Apr 06 '24 16:04 matt335672