Apache Guacamole + Pulseaudio

Has anyone gotten Apache Guacamole to work with the built in support for streaming audio using pulseaudio?

I have installed guacamole as a pkg inside a jail. This is the client.

I have another jail running KDE as a desktop environment, with pulseaudio configured according the the Guacamole docs. It is listening on port 4713, and the module module-protocol-native-tcp is loaded with auth-anonymous=1 to allow any clients to connect.

But when ever I try to connect, guacd fails to connect, seemingly because of authorization. Logs show

Code:
May  3 12:15:42 guacamole guacd[55774]: Connecting to PulseAudio...
May  3 12:15:42 guacamole guacd[55774]: Authorizing PulseAudio connection...
May  3 12:15:42 guacamole guacd[55774]: PulseAudio connection failed

So I’m curious if anyone has gotten this to work.
 
Which version of FreeBSD, exactly?

Packages of ports from quarterly, or latest?

freebsd--version -kru ; uname -aKU

pkg -vv | grep -e url -e enabled -e priority

Versions inside the jail?
 
The host is running TrueNAS CORE 13.0-U6.1 which is based on FreeBSD 13.0
The jails are both running 13.2-RELEASE
Using quarterly packages on guacamole
Pulseaudio built from ports on desktopjail

TrueNAS Host
Code:
root@tn[~]# pkg -vv | grep -e url -e enabled -e priority
    url             : "file:///usr/ports/packages",
    enabled         : yes,
    priority        : 0
    url             : "http://pkg.cdn.pcbsd.org/10.0-RELEASE/amd64",
    enabled         : no,
    priority        : 0,
Code:
root@tn[~]# freebsd-version -kru ; uname -aKU
13.1-RELEASE-p9
13.1-RELEASE-p9
13.1-RELEASE-p9
FreeBSD tn.local 13.1-RELEASE-p9 FreeBSD 13.1-RELEASE-p9 n245429-296d095698e TRUENAS amd64 1301000 1301000

Jail running Guacamole
13.2-RELEASE
Code:
root@guacamole:~ # pkg -vv | grep -e url -e enabled -e priority
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly",
    enabled         : yes,
    priority        : 0,
Guacmole version
Code:
root@guacamole:~ # pkg info | grep guac
guacamole-client-1.5.3         HTML5 Clientless Remote Desktop
guacamole-server-1.5.3         HTML5 Clientless Remote Desktop
Everything in guacamole was installed with pkg install

Jail running KDE (this is the one I'm connecting to via guacamole)
13.2-RELEASE
Code:
root@desktopjail:~ # pkg -vv | grep -e url -e enabled -e priority
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly",
    enabled         : yes,
    priority        : 0,
Pulseaudio compiled from ports with all options enabled
Code:
root@desktopjail:~ # pkg info | grep pulseaudio
pulseaudio-16.1_4              Sound server for UNIX
 
I am aware of the issues regarding the 13.3-RELEASE jails, but I don’t think that is my issue here.

My issue is that guacamole is not authorizing the pulseaudio connection.

Thanks for the help.
 
Back
Top