On 8/9/19 2:57 PM, Nick Couchman wrote:
On Fri, Aug 9, 2019 at 7:55 AM Jelle de Jong <jelledej...@powercraft.nl <mailto:jelledej...@powercraft.nl>> wrote:

    Hello everybody,

    guacd 0.9.9-2build1 running on ubuntu 18.04.2


This is a really, really, really old version.  You should probably update to something more recent.


            <connection name="workstation01.snip.lan">
                  <protocol>rdp</protocol>
                  <param name="hostname">192.168.24.78</param>
                  <param name="port">3389</param>
                  <param name="username">snip</param>
                  <param name="password">snip</param>
                  <param name="enable-audio">true</param>
                  <param name="audio-servername">192.168.24.78</param>
              </connection>

    On client: pulse audio server running:
    $ netstat -ln | grep 4713
tcp        0      0 0.0.0.0:4713 <http://0.0.0.0:4713> 0.0.0.0:*
    LISTEN
    tcp6       0      0 :::4713                 :::*
    LISTEN


RDP doesn't generally use the TCP connections on PulseAudio like VNC does.  I'm not entirely certain how XRDP implements this - it may use PulseAudio - but guacd is going to connect to the RDP audio stream, not via Pulse.

    How can I check if guac is trying to setup a audio connection?


The guacd output should tell you - it's generally logged to syslog, so wherever that normally lands on your system (/var/log/messages, journalctl, etc.) is where you want to look.  You can also start guacd in debug mode, and in the foreground:

/path/to/guacd -L debug -f


    The documentation mentioned audio for vnc but not specific for rdp
    protocol? Is this why is it not working?

No, RDP audio works fine in Guacamole.

-Nick

Thank you Nick for taking the time to reply,

guacd ubuntu maintainers might want to update their version then.

I got it working with the bellow steps, I missed that rdp did the audio.

# compile and run xrdp pulseaudio installer

cat <<"EOF" > /etc/apt/sources.list.d/srcfiles.list
deb-src http://packages.linuxmint.com tessa main upstream import backport #id:linuxmint_main deb-src http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://archive.canonical.com/ubuntu/ bionic partner
EOF

cd /tmp
sudo apt source pulseaudio
cd /tmp/pulseaudio*
sudo ./configure
cd /usr/src/xrdp-pulseaudio-installer
make PULSE_DIR="/tmp/pulseaudio-11.1"
install -t "/var/lib/xrdp-pulseaudio-installer" -D -m 644 *.so
reboot

# choose xrdp sink as the sound output

I got audio working now!!

Kind regards,

Jelle de Jong

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

Reply via email to