Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0921F200B42 for ; Sun, 26 Jun 2016 05:03:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EFAFD160A67; Sun, 26 Jun 2016 03:03:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1D212160A66 for ; Sun, 26 Jun 2016 05:03:51 +0200 (CEST) Received: (qmail 5148 invoked by uid 500); 26 Jun 2016 03:03:49 -0000 Mailing-List: contact user-help@guacamole.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@guacamole.incubator.apache.org Delivered-To: mailing list user@guacamole.incubator.apache.org Received: (qmail 5127 invoked by uid 99); 26 Jun 2016 03:03:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2016 03:03:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C7C96C9EBC for ; Sun, 26 Jun 2016 03:03:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id cM9hKJNPwLL9 for ; Sun, 26 Jun 2016 03:03:46 +0000 (UTC) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.161.179]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id CE7A15F4E4 for ; Sun, 26 Jun 2016 03:03:45 +0000 (UTC) Received: by mail-yw0-f179.google.com with SMTP id b72so131018310ywa.3 for ; Sat, 25 Jun 2016 20:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6i77c/cvsxcMDI8dLwnDuwLos83dpsknH0EyRUcjSU8=; b=DKB/COGqeL4seSo4Z6F2IZ1sLa6+1eGukUUggTPvO9bdEHNnJYLBT5SmzfinqnxUPD X69FWjleiTj2KV087MLTQqjFkCWd0OiTCVKlbzHrPC0O5VQAiJLqRvE2VAGfmDmK3Rgr 9saCLyNK2b5HdXTPo3HUu4InXF/+zZmuakERuMOcKqn5JduINu2kmoDXT0K32CJe2GYm 0dZcJDB7UWUERLNfy3vbsCuDG1qlNFryXVicqLt1MxdNw2pyWzez80IcmadpU39qWzJx d6erPcrop2h3dhNNMZnXeIZsIBsQIJXjO0/HKDsbnatpSUjMlldviKvMjX1viHJNShgS hNog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6i77c/cvsxcMDI8dLwnDuwLos83dpsknH0EyRUcjSU8=; b=OhSMGSE75JC3opdyA+w8cCjBQ4OYD+QQRg0GWYOS8MwDjRd9YccpoCzQgQz8PhPKBu kj6p5dXAVHLeQYQy6Fv03QpgXuEIDnyLXDt5mGV8m83Ib+vcQGBvKmQqkx7I4gXgqzw5 DIUjhqSGaGXw1VIo0UmU2PU2gEQlXH8k5zajQffMe8wsxXhX8WqboIWKcSRPyGS2Awdc LCZY/JLTdVLU/EMzQR/WPruQvN+b6yF6gEIlaqn1d3gwNuJ9aBvDGyEywuO5BP5yaKHH NR09H8Jvan6KQ8zlVmWT2VNrlhzvbph3qPRMKGXtVyMM3mFHKPIJ/ag4JLyN1WXuMV3e DSQg== X-Gm-Message-State: ALyK8tJbWByKxlide2ZcRqNuuk74P+QvqQiyZXFZJAFu5LcFXTg4P09pJK0O2pBz1kshx9fWdojyXOfgSZx6ug== X-Received: by 10.13.240.65 with SMTP id z62mr7842927ywe.314.1466910224722; Sat, 25 Jun 2016 20:03:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.208.86 with HTTP; Sat, 25 Jun 2016 20:03:05 -0700 (PDT) In-Reply-To: References: From: brian mullan Date: Sat, 25 Jun 2016 23:03:05 -0400 Message-ID: Subject: Re: Guacamole and linux Pulseaudio To: Mike Jumper Cc: user@guacamole.incubator.apache.org Content-Type: multipart/alternative; boundary=94eb2c034e60dcb89d053625a6d5 archived-at: Sun, 26 Jun 2016 03:03:53 -0000 --94eb2c034e60dcb89d053625a6d5 Content-Type: text/plain; charset=UTF-8 Thanks Mike for the response. I'm no wiz with RDP :-) Just understanding what you've described helps. So if I can make an RDP connection to one of the LXD containers & bring up the desktop OK... it should be the xrdp/x11rdp drivers in that Container that support that connection's job to pass the pulseaudio to RDPSND channel... which should be directly sent back to the remote end-user's browser & played then locally because that RDPSND channel is part of the original browser connection to Guacamole? Brian On Sat, Jun 25, 2016 at 10:46 PM, Mike Jumper wrote: > On Jun 25, 2016 12:59 PM, "brian mullan" wrote: > > > > I've implemented a set of 6 scripts to install Guacamole w/NGINX, > Tomcat8, Mysql on Ubuntu 16.04 servers. > > > > I also install Pulseaudio in the Host/Server and configure it > (/etc/pulse/default.pa) to load the Pulseaudio TCP module: > > > > load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1; > 10.0.3.0/24 auth-anonymous=1 > > > > ... > > > > Each connection is configured with RDP and RDP security. > > > > I create several test users also and give each use access to multiple > LXD container connections. > > > > Logout of Guacamole & log back in as one of the "test" users and I can > connect to and log into Ubuntu-Mate desktop on any of the containers just > fine. > > > > Running "pactl list modules" in any of the LXD containers shows the > same Pulseaudo "modules" loaded as the Host/Server. > > > > However, audio/sound played in any of the LXD containers can't be heard. > > > > Hi Brian, > > Guacamole does not use PulseAudio for grabbing the audio of an RDP > connection. It supports PulseAudio for VNC connections because VNC > otherwise lacks its own standard support for audio, but with RDP the > "RDPSND" channel will be used. > > If you wish to use RDP, then the next step would be to determine why your > RDP server is not providing audio via RDPSND. Though XRDP may well use > PulseAudio behind the scenes, the RDP client (in this case: Guacamole) need > not be aware of this; the RDP-facing side of this audio should be standard > RDPSND. > > Alternatively, if you are OK with using a VNC server instead of RDP, you > could do so and then use PulseAudio as you were originally expecting. > > Thanks, > > - Mike > --94eb2c034e60dcb89d053625a6d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Mike for the response.=C2=A0=C2=A0 I'= m no wiz with RDP :-)

Just understanding what you've described = helps.

So if I can make an RDP connection to=C2=A0 one of the = LXD containers & bring up the desktop OK... it should be the xrdp/x11rd= p drivers in that Container that support that connection's job to pass = the pulseaudio to RDPSND channel... which should be directly sent back to t= he remote end-user's browser & played then locally because that RDP= SND channel is part of the original browser connection to Guacamole?
Brian

=
On Sat, Jun 25, 2016 at 10:46 PM, Mike Jumpe= r <mike.jumper@guac-dev.org> wrote:

On Jun 25, 2016 12:59 PM,= "brian mullan" <bmullan.mail@gmail.com> wrote:
>
> I've implemented a set of 6 scripts to install Guacamole w/NGINX, = Tomcat8, Mysql on Ubuntu 16.04 servers.
>
> I also install Pulseaudio in the Host/Server and configure it (/etc/pu= lse/default.pa) to load= the Pulseaudio TCP module:
>
> =C2=A0=C2=A0=C2=A0 load-module module-native-protocol-tcp auth-ip-acl= =3D127.0.0.1;10.0.3.0/24 auth-anonymous=3D1
>
> ...
>
> Each connection is configured with RDP and RDP security.
>
> I create several test users also and give each use access to multiple = LXD container connections.
>
> Logout of Guacamole & log back in as one of the "test" u= sers and I can connect to and log into Ubuntu-Mate desktop on any of the co= ntainers just fine.
>
> Running "pactl list modules"=C2=A0 in any of the LXD contain= ers shows the same Pulseaudo "modules" loaded as the Host/Server.=
>
> However, audio/sound played in any of the LXD containers can't be = heard.
>

Hi Brian,

Guacamole does not use PulseAudio for grabbing the audio of = an RDP connection. It supports PulseAudio for VNC connections because VNC o= therwise lacks its own standard support for audio, but with RDP the "R= DPSND" channel will be used.

If you wish to use RDP, then the next step would be to deter= mine why your RDP server is not providing audio via RDPSND. Though XRDP may= well use PulseAudio behind the scenes, the RDP client (in this case: Guaca= mole) need not be aware of this; the RDP-facing side of this audio should b= e standard RDPSND.

Alternatively, if you are OK with using a VNC server instead= of RDP, you could do so and then use PulseAudio as you were originally exp= ecting.

Thanks,

- Mike


--94eb2c034e60dcb89d053625a6d5--