From florian.wicke@hetzner.de  Wed Apr 29 14:56:43 2015
Received: (at 861) by bugs.x2go.org; 29 Apr 2015 12:56:45 +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,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from mail.hetzner.company (mail.hetzner.company [213.133.106.242])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id BC3755DA99
	for <861@bugs.x2go.org>; Wed, 29 Apr 2015 14:56:43 +0200 (CEST)
Received: from [78.46.134.130] (helo=[10.200.6.166])
	by mail.hetzner.company with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256)
	(Exim 4.80)
	(envelope-from <florian.wicke@hetzner.de>)
	id 1YnRYH-0007Sy-NJ
	for 861@bugs.x2go.org; Wed, 29 Apr 2015 14:57:21 +0200
Message-ID: <5540D500.8050601@hetzner.de>
Date: Wed, 29 Apr 2015 14:56:32 +0200
From: Florian Wicke - Hetzner Online AG <florian.wicke@hetzner.de>
User-Agent: Mozilla/5.0 (Windows NT 6.3; 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: No Sound in TCE-RDP-directConnect
References: 1YnP2M-0008CV-I2@mail.hetzner.company <5540B46B.8080001@hetzner.de> 1YnQpa-0004Wq-0Q@mail.hetzner.company
In-Reply-To: <5540B46B.8080001@hetzner.de> 1YnQpa-0004Wq-0Q@mail.hetzner.company
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="2PAiFagX95UaOqVk9XTPfQ7EUIWXsadhL"
X-Authenticated-Sender: florian.wicke@hetzner.de

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--2PAiFagX95UaOqVk9XTPfQ7EUIWXsadhL
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Stefan,

i don't know about the 'rdpsnd'-plugin for xfreerdp - the official
documentation suggests 'drdynvc':

https://github.com/FreeRDP/FreeRDP/wiki/Multimedia-Redirection



Kind regards

 Florian Wicke

Hetzner Online AG
Industriestr. 25
91710 Gunzenhausen / Germany
Tel: +49 9831 505-187
Fax: +49 9831 505-387
florian.wicke@hetzner.de
www.hetzner.com

Register Court: Registergericht Ansbach, HRB 3204
Management Board: Dipl. Ing. (FH) Martin Hetzner
Chairwoman of the Supervisory Board: Diana Rothhan

Am 29.04.2015 um 14:03 schrieb Stefan Baur:
> Am 29.04.2015 um 12:37 schrieb Florian Wicke - Hetzner Online AG:
>=20
>> 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:
>=20
>> padsp rdesktop -u <username> -f -r sound:local <address>
>=20
>> then pulseaudio redirects the access to /dev/dsp of rdesktop to
>> itself.
>=20
> 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.
>=20
> (I can only add additional parameters after the rdesktop/xfreerdp
> call, but nothing in front of it.)
>=20
>> 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
>=20
> 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.
>=20
> Running it on the command line
>=20
> xfreerdp --ignore-certificate --plugin rdpsnd -d DOMAIN -f -u User -p
> Password Server:3389
>=20
> (i.e. *without* the parameter you suggested) returns, when pulseaudio
> is loaded:
>=20
> 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/FreeRDPRdpsndDeviceEnt=
ry
>=20
> 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.
>=20
> Also, note that adding the parameter you suggested doesn't work out of
> the box - e.g. when called like this:
>=20
> xfreerdp --ignore-certificate --plugin rdpsnd -d DOMAIN -f -u User -p
> Password --data tsmf:audio:pulse Server:3389
>=20
> it dies instantly with:
>=20
> loading plugin rdpsnd
> invalid option: --data
> failed to parse arguments.
>=20
> so the position of the parameter seems to matter.
>=20
> Additional info: xfreerdp --version returns "This is FreeRDP version
> 1.0.1"
>=20
> -Stefan
>=20
>=20
>=20
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> http://lists.x2go.org/listinfo/x2go-dev
>=20


--2PAiFagX95UaOqVk9XTPfQ7EUIWXsadhL
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

iQEcBAEBCgAGBQJVQNUDAAoJEAn0falXoNhDHcIH+gMoJNU4jRaupzzG0m4QLmLj
JpKSMyz390Aww26dYEvKXp1rQQTbtrH28hZXm6fTYeqpjVn47DfV8DOBN1zoOHo/
pyK25+OjyMthBC5Wqlwn9fmyxcJzg5mLvZG8rqIh+MR6TXXmbWGrjIq6hy2i0cKr
lyI1/NbS5FXlG/5oHePFvijwY1aM58xmI6LDN7bV0jwk6XouDNGYDOtOv3avqSwv
Xt2ko5vnyKHprkdWhwWg8s54lmZmn3c9im/xfNl++0eG2P0ZIr33U01nalRghusL
vXGaSc3HNNveYRRPBGYs2AEg48RderCRAFW/iXe6dHQB/3tjTNCghwrYDJmx8oI=
=jn7K
-----END PGP SIGNATURE-----

--2PAiFagX95UaOqVk9XTPfQ7EUIWXsadhL--

