From X2Go-ML-1@baur-itcs.de Wed Apr 29 14:09:26 2015 Received: (at 861) by bugs.x2go.org; 29 Apr 2015 12:09:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id AED975DA99 for <861@bugs.x2go.org>; Wed, 29 Apr 2015 14:09:26 +0200 (CEST) Received: from [192.168.0.171] ([188.105.117.81]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0LZjJo-1ZYcS50BdE-00lRPn for <861@bugs.x2go.org>; Wed, 29 Apr 2015 14:04:25 +0200 Message-ID: <5540C8AF.4080504@baur-itcs.de> Date: Wed, 29 Apr 2015 14:03:59 +0200 From: Stefan Baur User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: 861@bugs.x2go.org Subject: Re: [X2Go-Dev] Bug#861: Bug#861: No Sound in TCE-RDP-directConnect References: 1YnP2M-0008CV-I2@mail.hetzner.company <5540B46B.8080001@hetzner.de> In-Reply-To: <5540B46B.8080001@hetzner.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="s8R8tAKR9HUkAmPJlbE3o1oJJMFuTrmIQ" X-Provags-ID: V03:K0:bK5Dr3tJ1tCGzLZGvkRYJy6lnNEhYVE/7aGGL/MB/LxTTAYJOCJ A4FPkVu9wqqNQ5z5PGT92E9eevdLb9qtRDQEtV6NtzAgUeum/pwwmrADLOmARSEVrQnslJN qqQLOM4GPtxrmmWm/S3EI6AqfEKP1KVCdNBUOzR7EtcSg0r1u0gfnCW0TPrdTAJ86ybBOu3 g+JTpYoHQOKPxNaw7kzFA== X-UI-Out-Filterresults: notjunk:1; This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --s8R8tAKR9HUkAmPJlbE3o1oJJMFuTrmIQ Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Am 29.04.2015 um 12:37 schrieb Florian Wicke - Hetzner Online AG: > yes pulseaudio is started from x2gothinclientd - rdesktop does not=20 > support pulseaudio as audio backend - but you can workaround that > with 'padsp' from the pulseaudio-utils package. - you just have to > prefix the rdesktop command with padsp like: > padsp rdesktop -u -f -r sound:local
> then pulseaudio redirects the access to /dev/dsp of rdesktop to > itself. I know of padsp, but it seems there is no way I can just add this call somewhere in the config. This looks like it has to be added to x2goclient's source. (I can only add additional parameters after the rdesktop/xfreerdp call, but nothing in front of it.) > xfreerdp should have native pulseaudio-support so it depends on > your choice of software. To force xfreerdp to use pulseaudio you > could add the parameter '--data tsmf:audio:pulse' to the > xfreerdp-command So, --ignore-certificate --plugin rdpsnd --data tsmf:audio:pulse -d DOMAIN -f -u User -p Password Server:3389 doesn't work, it throws me right back at the login prompt. Running it on the command line xfreerdp --ignore-certificate --plugin rdpsnd -d DOMAIN -f -u User -p Password Server:3389 (i.e. *without* the parameter you suggested) returns, when pulseaudio is loaded: loading plugin rdpsnd Warning xf_GetWindowProperty (140): Property 484 does not exist connected to Server:3389 freerdp_load_library_symbol: failed to open /usr/lib/i386-linux-gnu/freerdp/rdpsnd_pulse.so: /usr/lib/i386-linux-gnu/freerdp/rdpsnd_pulse.so: cannot open shared object file: No such file or directory freerdp_load_plugin: failed to load rdpsnd_pulse/FreeRDPRdpsndDeviceEntry= So it does try to do some pulseaudio'ish things, but fails. Thus, I'm guessing xfreerdp in Debian Wheezy is too old/doesn't include Pulseaudio support for some reason. Also, note that adding the parameter you suggested doesn't work out of the box - e.g. when called like this: xfreerdp --ignore-certificate --plugin rdpsnd -d DOMAIN -f -u User -p Password --data tsmf:audio:pulse Server:3389 it dies instantly with: loading plugin rdpsnd invalid option: --data failed to parse arguments. so the position of the parameter seems to matter. Additional info: xfreerdp --version returns "This is FreeRDP version 1.0.1" -Stefan --=20 BAUR-ITCS UG (haftungsbeschr=E4nkt) Gesch=E4ftsf=FChrer: Stefan Baur Eichen=E4ckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 --s8R8tAKR9HUkAmPJlbE3o1oJJMFuTrmIQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVQMizAAoJEG7d9BjNvlEZZrUH/157VGkQ0tTwqMUy8GUdRWhU xnbdQwSytIs1exA09JxmbqlExb5enjWRjFip8FsuGERCIYOU+4FEFe7dwrr457lh 3j08XhpgioZxMtKtvsyqIqtrCQHLzG/kximMfpd75JuWPunGD0cQCOW6RJWgvzts GinUhsWvZo31wxm0Yg6awvQWcU2z7QEro96M/AiNn/0JrV2huck3juULpSjlduIe 2lPFoNHWooadB0dqVarLmizZpS/cjXu3GtNUx8BDHy5d7b33o6IySGtRLQFz9O1T q3tuP+3x2oXTwm/jsZRxZs+HJ1VIfep8scqpcWz49+NZFawxUb0YOoNmeU56DMg= =F7GN -----END PGP SIGNATURE----- --s8R8tAKR9HUkAmPJlbE3o1oJJMFuTrmIQ--