Package Details: pulseaudio-module-xrdp 0.7-1

Git Clone URL: https://aur.archlinux.org/pulseaudio-module-xrdp.git (read-only, click to copy)
Package Base: pulseaudio-module-xrdp
Description: PulseAudio modules for xrdp
Upstream URL: https://github.com/neutrinolabs/pulseaudio-module-xrdp
Licenses: LGPL
Submitter: kballen
Maintainer: Jat
Last Packager: Jat
Votes: 3
Popularity: 0.000000
First Submitted: 2019-10-16 19:53 (UTC)
Last Updated: 2024-04-23 08:40 (UTC)

Latest Comments

1 2 3 4 Next › Last »

h4xx commented on 2024-08-21 06:27 (UTC)

Looks like there is an issue with the SSL certificate from freedesktop.org.

To complete the build i had to replace the source from https://freedesktop.org to https://www.freedesktop.org in PKGBUILD.

varungarg commented on 2024-08-17 09:57 (UTC) (edited on 2024-08-17 09:57 (UTC) by varungarg)

I am getting weird/distorted sounds. I killed existing pulse and started pulseaudio -vvvv inside terminal started in xrdp session.

D: [pulseaudio] memblock.c: Using shared memfd memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
D: [pulseaudio] srbchannel.c: SHM block is 65472 bytes, ringbuffer capacity is 2 * 32712 bytes
D: [pulseaudio] protocol-native.c: Enabling srbchannel...
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for gsd-media-keys
D: [pulseaudio] protocol-native.c: Client enabled srbchannel.
D: [xrdp-sink] module-xrdp-sink.c: sink_process_msg: PA_SINK_MESSAGE_GET_LATENCY
D: [xrdp-sink] module-xrdp-sink.c: sink_process_msg: lat 39887
D:
...
E: [xrdp-sink] module-xrdp-sink.c: sink_process_msg: not running
E: [xrdp-sink] module-xrdp-sink.c: close_send:
E: [xrdp-sink] module-xrdp-sink.c: Connected ok fd 25
E: [xrdp-sink] module-xrdp-sink.c: sink_process_msg: not running
E: [xrdp-sink] module-xrdp-sink.c: close_send:
..
D: [xrdp-sink] module-xrdp-sink.c: process_render: u->block_usec 30000
D: [xrdp-sink] module-xrdp-sink.c: process_render: u->block_usec 30000
D: [xrdp-sink] module-xrdp-sink.c: process_render: u->block_usec 30000

I don't know what is going wrong

cinereus commented on 2024-08-13 16:09 (UTC)

The SSL certificate for https://freedesktop.org/software/pulseaudio/releases/pulseaudio-x.x.tar.xz is currently invalid so this doesn't build.

The cert for https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-x.x.tar.xz is fine so can build using that.

benjarobin commented on 2024-08-06 18:35 (UTC)

Please depend on pulse-native-provider instead of pulseaudio. See https://gitlab.archlinux.org/archlinux/packaging/packages/pipewire/-/issues/10

peiyangxie commented on 2024-04-05 14:49 (UTC) (edited on 2024-04-05 14:49 (UTC) by peiyangxie)

finally i make it work...but ugly, add this to i3 config

exec --no-startup-id run_forever.sh

run_forever.sh:

#!/bin/bash
while true
do
/usr/bin/pulseaudio
done

Jat commented on 2023-08-09 09:23 (UTC)

@D3vil0p3r install meta package base-devel

D3vil0p3r commented on 2023-08-04 22:02 (UTC) (edited on 2023-08-04 22:05 (UTC) by D3vil0p3r)

For compiling the package cmake and pkgconfig are needed. Also m4, autoconf, automake... Furthermore I guess that also other dependencies are needed. When I try to install it, I get the following error and "NO" messages:

:: Resolving dependencies...
:: There are 2 providers available for pulseaudio-module-xrdp:
:: Repository AUR:
    1) pulseaudio-module-xrdp  2) pulseaudio-module-xrdp-git
Enter a number (default=1): :: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1)                     Old Version  New Version  Make Only
aur/pulseaudio-module-xrdp               0.7-1        No

:: Proceed to review? [Y/n]:

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
fetching devel info...
==> Making package: pulseaudio-module-xrdp 0.7-1 (Sat 05 Aug 2023 12:00:39 AM CEST)
==> Retrieving sources...
  -> Found v0.7.tar.gz
  -> Found pulseaudio-16.1.tar.xz
==> Validating source files with sha256sums...
    v0.7.tar.gz ... Passed
    pulseaudio-16.1.tar.xz ... Passed
==> Making package: pulseaudio-module-xrdp 0.7-1 (Sat 05 Aug 2023 12:00:41 AM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v0.7.tar.gz
  -> Found pulseaudio-16.1.tar.xz
==> Validating source files with sha256sums...
    v0.7.tar.gz ... Passed
    pulseaudio-16.1.tar.xz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v0.7.tar.gz with bsdtar
  -> Extracting pulseaudio-16.1.tar.xz with bsdtar
==> Starting prepare()...
The Meson build system
Version: 1.2.0
Source dir: /home/athena/.cache/paru/clone/pulseaudio-module-xrdp/src/pulseaudio-16.1
Build dir: /home/athena/.cache/paru/clone/pulseaudio-module-xrdp/src/pulseaudio-16.1/build
Build type: native build
Program git-version-gen found: YES (/home/athena/.cache/paru/clone/pulseaudio-module-xrdp/src/pulseaudio-16.1/git-version-gen)
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Project name: pulseaudio
Project version: 16.1
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.41.0
C++ compiler for the host machine: c++ (gcc 13.2.1 "c++ (GCC) 13.2.1 20230801")
C++ linker for the host machine: c++ ld.bfd 2.41.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/sbin/pkg-config (1.8.1)
Run-time dependency bash-completion found: YES 2.11
Checking for type "_Bool" : YES
Has header "arpa/inet.h" : YES
Has header "byteswap.h" : YES
Has header "dlfcn.h" : YES
Has header "execinfo.h" : YES
Has header "grp.h" : YES
Has header "langinfo.h" : YES
Has header "linux/sockios.h" : YES
Has header "locale.h" : YES
Has header "netdb.h" : YES
Has header "netinet/in.h" : YES
Has header "netinet/in_systm.h" : YES
Has header "netinet/ip.h" : YES
Has header "netinet/tcp.h" : YES
Has header "pcreposix.h" : YES
Has header "poll.h" : YES
Has header "pwd.h" : YES
Has header "regex.h" : YES
Has header "sched.h" : YES
Has header "stdint.h" : YES
Has header "sys/atomic.h" : NO
Has header "sys/capability.h" : YES
Has header "sys/conf.h" : NO
Has header "sys/dl.h" : NO
Has header "sys/eventfd.h" : YES
Has header "sys/filio.h" : NO
Has header "sys/ioctl.h" : YES
Has header "sys/mman.h" : YES
Has header "sys/prctl.h" : YES
Has header "sys/resource.h" : YES
Has header "sys/select.h" : YES
Has header "sys/socket.h" : YES
Has header "sys/syscall.h" : YES
Has header "sys/uio.h" : YES
Has header "sys/un.h" : YES
Has header "sys/wait.h" : YES
Has header "syslog.h" : YES
Has header "xlocale.h" : NO
Has header "valgrind/memcheck.h" : NO
Has header "pthread.h" : YES
Header "pthread.h" has symbol "PTHREAD_PRIO_INHERIT" : YES
Check usable header "cpuid.h" : YES
Checking for function "accept4" : YES
Checking for function "clock_gettime" : YES
Checking for function "ctime_r" : YES
Checking for function "fchmod" : YES
Checking for function "fchown" : YES
Checking for function "fork" : YES
Checking for function "fstat" : YES
Checking for function "getaddrinfo" : YES
Checking for function "getgrgid_r" : YES
Checking for function "getgrnam_r" : YES
Checking for function "getpwnam_r" : YES
Checking for function "getpwuid_r" : YES
Checking for function "gettimeofday" : YES
Checking for function "getuid" : YES
Checking for function "lrintf" : YES
Checking for function "lstat" : YES
Checking for function "memfd_create" : YES
Checking for function "mkfifo" : YES
Checking for function "mlock" : YES
Checking for function "nanosleep" : YES
Checking for function "open64" : YES
Checking for function "paccept" : NO
Checking for function "pipe" : YES
Checking for function "pipe2" : YES
Checking for function "posix_fadvise" : YES
Checking for function "posix_madvise" : YES
Checking for function "posix_memalign" : YES
Checking for function "ppoll" : YES
Checking for function "readlink" : YES
Checking for function "setegid" : YES
Checking for function "seteuid" : YES
Checking for function "setpgid" : YES
Checking for function "setregid" : YES
Checking for function "setresgid" : YES
Checking for function "setresuid" : YES
Checking for function "setreuid" : YES
Checking for function "setsid" : YES
Checking for function "sig2str" : NO
Checking for function "sigaction" : YES
Checking for function "strerror_r" : YES
Checking for function "strtod_l" : YES
Checking for function "strtof" : YES
Checking for function "symlink" : YES
Checking for function "sysconf" : YES
Checking for function "uname" : YES
Header "sys/syscall.h" has symbol "SYS_memfd_create" : YES
Checking for function "dgettext" : YES
Header "signal.h" has symbol "SIGXCPU" : YES
Header "netinet/in.h" has symbol "INADDR_NONE" : YES
Header "unistd.h" has symbol "environ" : YES
Header "sys/soundcard.h" has symbol "SOUND_PCM_READ_RATE" : YES
Header "sys/soundcard.h" has symbol "SOUND_PCM_READ_CHANNELS" : YES
Header "sys/soundcard.h" has symbol "SOUND_PCM_READ_BITS" : YES
Library m found: YES
Run-time dependency threads found: YES
Checking for function "pthread_getname_np" with dependency threads: YES
Checking for function "pthread_setaffinity_np" with dependency threads: YES
Checking for function "pthread_setname_np" with dependency threads: YES
Library cap found: YES
Library rt found: YES
Checking for function "shm_open" with dependency -lrt: YES
Library dl found: YES
Checking for function "dladdr" with dependency -ldl: YES
Checking for function "iconv_open" : YES
Library execinfo found: NO
Run-time dependency dbus-1 found: YES 1.14.8
Run-time dependency glib-2.0 found: YES 2.76.4
Run-time dependency sndfile found: YES 1.2.0
Run-time dependency libsystemd found: YES 254
Run-time dependency x11-xcb found: YES 1.8.6
Has header "sys/soundcard.h" : YES
Run-time dependency fftw3f found: YES 3.3.10
Run-time dependency libasyncns found: YES 0.8
Run-time dependency gtk+-3.0 found: YES 3.24.38
Library ltdl found: YES
Run-time dependency tdb found: YES 1.4.9
Run-time dependency alsa found: YES 1.2.9
Run-time dependency gio-2.0 found: YES 2.76.4
Run-time dependency orc-0.4 found: YES 0.4.34
Program orcc found: YES (/usr/sbin/orcc)
Dependency samplerate skipped: feature samplerate disabled
Run-time dependency speexdsp found: YES 1.2.1
Run-time dependency soxr found: YES 0.1.3
Run-time dependency webrtc-audio-processing found: YES 0.3.1
Run-time dependency systemd found: YES 254
Found CMake: /usr/sbin/cmake (3.27.1)
Run-time dependency libelogind found: NO (tried pkgconfig and cmake)
Library wrap found: NO
Has header "tcpd.h" : NO
Run-time dependency xcb found: YES 1.15
Run-time dependency ice found: YES 1.1.1
Run-time dependency sm found: YES 1.2.4
Run-time dependency xtst found: YES 1.2.4
Checking for function "XSetIOErrorExitHandler" with dependency x11-xcb: YES
Run-time dependency avahi-client found: YES 0.8
Run-time dependency sbc found: YES 2.0
Run-time dependency bluez found: YES 5.68
Run-time dependency jack found: YES 1.9.22
Run-time dependency lirc found: NO (tried pkgconfig and cmake)
Run-time dependency openssl found: YES 3.1.2
Run-time dependency libudev found: YES 254
Run-time dependency gstreamer-1.0 found: YES 1.22.5
Run-time dependency gstreamer-app-1.0 found: YES 1.22.5
Run-time dependency gstreamer-rtp-1.0 found: YES 1.22.5
Dependency gstreamer-1.0 found: YES 1.22.5 (cached)
Dependency gstreamer-app-1.0 found: YES 1.22.5 (cached)
Run-time dependency check found: YES 0.15.2
Configuring doxygen.conf using configuration
Program msgfmt found: YES (/usr/sbin/msgfmt)
Program msginit found: YES (/usr/sbin/msginit)
Program msgmerge found: YES (/usr/sbin/msgmerge)
Program xgettext found: YES (/usr/sbin/xgettext)
Program perl found: YES (/usr/sbin/perl)
Program xmllint found: YES (/usr/sbin/xmllint)
Configuring default.pa.5.xml using configuration
Configuring pacmd.1.xml using configuration
Configuring pasuspender.1.xml using configuration
Configuring pulse-cli-syntax.5.xml using configuration
Configuring pulse-daemon.conf.5.xml using configuration
Configuring pulseaudio.1.xml using configuration
Configuring start-pulseaudio-x11.1.xml using configuration
Configuring pacat.1.xml using configuration
man/meson.build:58: WARNING: The variable(s) 'DEFAULT_MONITOR', 'DEFAULT_SINK', 'DEFAULT_SOURCE' in the input file 'man/pacat.1.xml.in' are not present in the given configuration data.
Configuring pactl.1.xml using configuration
Configuring pulse-client.conf.5.xml using configuration
Configuring padsp.1.xml using configuration
Configuring pax11publish.1.xml using configuration
Configuring version.h using configuration
Configuring client.conf using configuration
src/pulsecore/meson.build:176: WARNING: Module SIMD has no backwards or forwards compatibility and might not exist in future releases.
Compiler supports mmx: YES
Compiler supports sse: YES
Compiler supports neon: NO
Configuring start-pulseaudio-x11 using configuration
Configuring 00-pulseaudio-x11 using configuration
Program desktop-file-validate found: YES (/usr/sbin/desktop-file-validate)
Program m4 found: NO

src/daemon/meson.build:77:5: ERROR: Program 'm4' not found or not executable

A full log can be found at /home/athena/.cache/paru/clone/pulseaudio-module-xrdp/src/pulseaudio-16.1/build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'pulseaudio-module-xrdp-0.7-1':
error: packages failed to build: pulseaudio-module-xrdp-0.7-1

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

I further decided to try commenting-out all lines with pam_systemd_home.so 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)

@sshaikh

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

-auth [success=2 default=ignore] pam_systemd_home.so

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:

https://github.com/neutrinolabs/xrdp/issues/1684

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