From unknown Tue Apr 28 15:36:38 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#861: [X2Go-Dev] Bug#861: No Sound in TCE-RDP-directConnect
Reply-To: Mihai Moldovan <ionic@ionic.de>, 861@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Wed, 29 Apr 2015 13:05:02 +0000
Resent-Message-ID: <handler.861.B861.143031242217895@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 861
X-X2Go-PR-Package: x2gothinclient
X-X2Go-PR-Keywords: 
Received: via spool by 861-submit@bugs.x2go.org id=B861.143031242217895
          (code B ref 861); Wed, 29 Apr 2015 13:05:02 +0000
Received: (at 861) by bugs.x2go.org; 29 Apr 2015 13:00:22 +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,T_DKIM_INVALID,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 5682F5DA99
	for <861@bugs.x2go.org>; Wed, 29 Apr 2015 15:00:20 +0200 (CEST)
Received: from nopileos.local (home.ionic.de [217.92.117.31])
	by mail.ionic.de (Postfix) with ESMTPSA id 64A704F09075;
	Wed, 29 Apr 2015 15:00:19 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1430312419; bh=i6U5JIOVsSIDTX2FFabU11HAEplSt8FPtmwA6NKy7z8=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=JwXUDgW5jz+NMYpBYfFSSA8iTC9HhLUiU1lW2wHedCOn1Rj/9o/odUucxW61hz9hF
	 9vn6KLYOPg0wGejjdMOVbblnZsTv/zaRfZ+aFf69mMPqO6QLwynu21+yNGCZVw9F0+
	 WeCSYYWI2GboavImlBScUD+vKA13ak8t4jDMBfbQ=
Message-ID: <5540D5E2.9020203@ionic.de>
Date: Wed, 29 Apr 2015 15:00:18 +0200
From: Mihai Moldovan <ionic@ionic.de>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 861@bugs.x2go.org
References: 1YnP2M-0008CV-I2@mail.hetzner.company <5540B46B.8080001@hetzner.de> <5540C8AF.4080504@baur-itcs.de>
In-Reply-To: <5540C8AF.4080504@baur-itcs.de>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="9w3D0MjFGrIuJ5cQolS4dGfXRH3OKUKLO"

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

On 29.04.2015 02:03 PM, Stefan Baur wrote:
> 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

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D672604

Never made it back to wheezy, though.

Jessie has it:
https://packages.debian.org/jessie/amd64/libfreerdp-plugins-standard/file=
list

And should also support the --data tsmf:audio:pulse parameter.



Mihai


--9w3D0MjFGrIuJ5cQolS4dGfXRH3OKUKLO
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
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJVQNXiAAoJEB/WLtluJTqHxkQP/2d1rwVVgKSsEBJuhkuxQpoQ
LeuaqVltiXYIHLQSGoQAxfiRsEElTsQt4OKAejq86Xra48bI4JrlbplQnkCY0MdM
OD/Zl46A1l24ndEDf9L+GwV3dYOy29cwgBBtCnEW74kFku6bJQ4mvg2gx+OWRJHU
/57z/Pn4U8yF5P6eaRg9DgmBxyrP/dZP2lKYB382YTOrHMaLLqzeYk4G/f+0eixB
AT8dyKs+V+hT4nkuH4kJ7EOeMPijAT8LQwhELJQmh2QZYh8M0AmTR7Agl7+RzlgV
9jTMX3GwX66n84pEICYNKuvXWHW7X3wRVlpGg7jsfvz0dpgDidB7rUivfktcSZZ3
nHtfXBvaHpd+/+ugqHPXSfkHk6KfVie2/tnEIQqUwTENvqkpJ7kRjd7jmyMNbDyc
bVlfyVQUtrETA3xBFUochwG5s5FEafBuUm/X70kCEHcZ1d1dK6CnXuWqgXoa9ldF
lC2q1s9VUvdK+vRvCerQwXUSeyikaFdJ5CgG5qmLcZ+Wm/dK5lo592D5rIZlroT/
z0+771Adwvz3yoafo/8pPnryyBECRYCHmSij1YEdgLsXYc5YpYtoK4oFIZDGZLLg
5r5Gc7BuvohI06UjjPsxFO+s5TIoPj1aANzu35r7tiIMSPbomUIFrQ+0YTvwMW+G
nuhhr2GyQaNsg5QtXEDv
=sWVp
-----END PGP SIGNATURE-----

--9w3D0MjFGrIuJ5cQolS4dGfXRH3OKUKLO--
