Package Details: pulseaudio-module-xrdp 0.7-1

Git Clone URL: (read-only, click to copy)
Package Base: pulseaudio-module-xrdp
Description: PulseAudio modules for xrdp
Upstream URL:
Licenses: LGPL
Submitter: kballen
Maintainer: Jat
Last Packager: Jat
Votes: 3
Popularity: 0.011589
First Submitted: 2019-10-16 19:53 (UTC)
Last Updated: 2023-04-23 03:51 (UTC)

Latest Comments

1 2 3 Next › Last »

hexadecagram commented on 2023-04-16 03:43 (UTC)

I further decided to try commenting-out all lines with in /etc/pam.d/system-auth. No luck, even after rebooting.

hexadecagram commented on 2023-04-16 00:22 (UTC) (edited on 2023-04-16 02:45 (UTC) by hexadecagram)


Thanks for the pointer. I commented-out this line in /etc/pam.d/system-auth:

-auth [success=2 default=ignore]

Then I rebooted and encountered the same situation. I then ran systemctl stop --user pulseaudio.socket, verified that pulseaudio wasn't running, followed by systemctl start --user pulseaudio.service (which should pull in the config from ~/.config/systemd/user/pulseaudio.service.d/xrdp.conf, or so says the output of systemctl cat --user pulseaudio.service), and I still hear nothing but see activity.

I have tried installing Remmina and FreeRDP on a Linux machine and performed my testing, with the same results (or lack thereof) that RoyalTSX 5.1.2 (which, as I mentioned previously, also uses FreeRDP) on my Mac (now 13.3.1) is experiencing.

sshaikh commented on 2023-04-15 22:45 (UTC)

I might be misremembering, but I recall having issues with sound because no user session was being created. I don't know what that means, but it lead me to this:

and editing system-auth fixed a few things (which may have included sound).

hexadecagram commented on 2023-04-15 22:38 (UTC)


I am using sesman.ini, which if I'm not mistaken has the PULSE_SCRIPT line under [SessionVariables] configured right out of the box. pasystray does show that the appropriate modules (module-xrdp-source and module-xrdp-sink) are being loaded. pavucontrol shows "xrdp sink" as the Output Device, and I do see activity in the volume meters but hear nothing.

I now have the following in ~/.config/systemd/user/pulseaudio.service.d/xrdp.conf:


However I do not see any instructions in these comments for what to comment out of /etc/pam.d/system-auth.

sshaikh commented on 2023-04-15 18:18 (UTC)


Yeah, I have functioning sound. Have you tried the fixes in this comments? The two I needed were the systemd --user dropin and commenting out the line from /etc/pam.d/system-auth

hexadecagram commented on 2023-04-15 18:13 (UTC)

Has anyone actually managed to get this module to work? As I said previously, I do see activity in the volume meter but hear nothing. My configs (xrdp, x11vnc, and pulseaudio) haven't strayed much from the default apart from making xrdp talk to x11vnc.

johnlewis8558 commented on 2022-11-30 05:44 (UTC) (edited on 2022-11-30 05:46 (UTC) by johnlewis8558)

I am unable to run pulseaudio automatically on startup. I have to start pulseaudio manually on terminal for it to work.

Fyi, PULSE_SCRIPT is set to /etc/xrdp/pulse/ on sesman.ini.

When running '$ pulseaudio' in terminal, these errors appeared even though pulseaudio works afterwards:

$ pulseaudio

N: [pulseaudio] module-xrdp-sink.c: Build library version 16.1.0

E: [xrdp-sink] module-xrdp-sink.c: sink_process_msg: not running

E: [xrdp-sink] module-xrdp-sink.c: close_send:

N: [pulseaudio] module-xrdp-source.c: Build library version 16.1.0

sshaikh commented on 2022-10-30 18:52 (UTC) (edited on 2022-11-01 16:31 (UTC) by sshaikh)

For some reason pulseaudio when started via systemd (as configured) does not seem to load which results in a dummy sink being loaded instead (and no sound).

Stopping the systemd service and running pulseaudio -v at the terminal works - no env needs to be set as PULSE_SCRIPT is set already (as per sesman.ini).

I've also tried creating an xrdp dropin as per @Jat but to no avail.

Any hints?

EDIT: the correct location for dropins for user services is in:


hexadecagram commented on 2022-08-28 10:51 (UTC)

I cannot get this to work using a FreeRDP client (actually Royal TSX on macOS 12.5.1, which uses FreeRDP 5.1.2 as a plugin). If I connect to a Windows 2012 machine using the same client, I get sound. Also, xorgxrdp refuses to build for me. Is Xorg required for audio or should I be able to do this with Xvnc (or in my case, lightdm and x0vncserver)?

I have followed the troubleshooting instructions in the ArchWiki step-by-step, all the way down to running pulseaudio manually and while I see pavucontrol trying to tell me that there should be sound with bouncing volume meters, I hear nothing. I am not seeing any journal logs about systemd improperly starting PulseAudio.

Interestingly, I notice that when /etc/xrdp/pulse/ is sourced, all my usual modules won't load. And if I try to force-load everything, there are problems. I will eventually need to be able to switch between xrdp audio and the machine's speakers, if possible.

If I set my state back to the way it was before attempting to setup the xrdp pulseaudio module, audio returns to the server's speakers.

Jat commented on 2022-04-22 03:47 (UTC) (edited on 2022-04-22 03:59 (UTC) by Jat)


if pulseaudio is started by desktop environment



if pulseaudio is started by systemd



if you want to start pulseaudio manually

PULSE_SCRIPT=/etc/xrdp/pulse/ pulseaudio --daemonize=no