Search Criteria
Package Details: pulseaudio-module-xrdp 0.7-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/pulseaudio-module-xrdp.git (read-only, click to copy) |
---|---|
Package Base: | pulseaudio-module-xrdp |
Description: | xrdp pulseaudio module |
Upstream URL: | https://github.com/neutrinolabs/pulseaudio-module-xrdp |
Licenses: | LGPL-2.1-only |
Conflicts: | pulseaudio-module-xrdp |
Provides: | pulseaudio-module-xrdp |
Submitter: | kballen |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 3 |
Popularity: | 0.21 |
First Submitted: | 2019-10-16 19:53 (UTC) |
Last Updated: | 2025-02-02 01:01 (UTC) |
Dependencies (7)
- pulseaudio (pulseaudio-dummyAUR, pulseaudio-gitAUR)
- xrdpAUR (xrdp-bin-gitAUR, xrdp-devel-gitAUR, xrdp-gitAUR)
- check (check-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (make)
- meson (meson-gitAUR) (make)
- tdb (traildb-gitAUR) (make)
Latest Comments
« First ‹ Previous 1 2 3 4 5 Next › Last »
hexadecagram commented on 2023-04-16 00:22 (UTC) (edited on 2023-04-16 02:45 (UTC) by hexadecagram)
@sshaikh
Thanks for the pointer. I commented-out this line in
/etc/pam.d/system-auth
:Then I rebooted and encountered the same situation. I then ran
systemctl stop --user pulseaudio.socket
, verified that pulseaudio wasn't running, followed bysystemctl start --user pulseaudio.service
(which should pull in the config from~/.config/systemd/user/pulseaudio.service.d/xrdp.conf
, or so says the output ofsystemctl 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:
https://github.com/neutrinolabs/xrdp/issues/1684
and editing system-auth fixed a few things (which may have included sound).
hexadecagram commented on 2023-04-15 22:38 (UTC)
@sshaikh
I am using
sesman.ini
, which if I'm not mistaken has thePULSE_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)
@hexadecagram
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/default.pa 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 module-xrdp-sink.so 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 asPULSE_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:
/home/user/.config/systemd/user/pulseaudio.service.d
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/defaults.pa 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)
@fow0ryl
https://www.freedesktop.org/wiki/Software/PulseAudio/FAQ/#whatenvironmentvariablesdoespulseaudiocareabout
if pulseaudio is started by desktop environment
if pulseaudio is started by systemd
if you want to start pulseaudio manually
fow0ryl commented on 2022-04-21 11:45 (UTC)
When installing I get this message:
Remember to pass the environment "PULSE_SCRIPT=/etc/xrdp/pulse/default.pa" to pulseaudio to make this module work.
But what does it mean? Where the enviroment variable has to be placed? A more detailed message would be helpful to everyone ...
« First ‹ Previous 1 2 3 4 5 Next › Last »