From unknown Tue Apr 28 17:12:48 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#861: [X2Go-Dev] Bug#861: No Sound in TCE-RDP-directConnect
Reply-To: Florian Wicke - Hetzner Online AG <florian.wicke@hetzner.de>, 861@bugs.x2go.org
Resent-From: Florian Wicke - Hetzner Online AG <florian.wicke@hetzner.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 11:20:01 +0000
Resent-Message-ID: <handler.861.B861.14303062075663@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.14303062075663
          (code B ref 861); Wed, 29 Apr 2015 11:20:01 +0000
Received: (at 861) by bugs.x2go.org; 29 Apr 2015 11:16:47 +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
X-Greylist: delayed 2337 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Wed, 29 Apr 2015 13:16:45 CEST
Received: from mail.hetzner.company (mail.hetzner.company [213.133.106.242])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 260EE5DA99
	for <861@bugs.x2go.org>; Wed, 29 Apr 2015 13:16:45 +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 1YnPNq-0004by-Js
	for 861@bugs.x2go.org; Wed, 29 Apr 2015 12:38:26 +0200
Message-ID: <5540B46B.8080001@hetzner.de>
Date: Wed, 29 Apr 2015 12:37:31 +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
References: 1YnP2M-0008CV-I2@mail.hetzner.company
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="8th1pNFtcl1XWvHKK4cuIT9Ij9ln8fufK"
X-Authenticated-Sender: florian.wicke@hetzner.de

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--8th1pNFtcl1XWvHKK4cuIT9Ij9ln8fufK
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Hi Stefan,

yes pulseaudio is started from x2gothinclientd - rdesktop does not
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 <username> -f -r sound:local <address>

then pulseaudio redirects the access to /dev/dsp of rdesktop to itself.

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



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 12:13 schrieb Stefan Baur:
> package: x2gothinclient
> version: 1.1.0.2
>=20
> Hi,
>=20
> when starting x2goclient in thinclient mode, pulseaudio gets started
> in the background. This blocks remote audio when using the
> RDP-DirectConnect feature of x2goclient.
>=20
> When you do this:
>=20
> /etc/init.d/x2gothinclient stop
> X &
> export DISPLAY=3D:0
> ln -s /etc/x2go/x2gothinclient_sessions ~/.x2goclient/sessions
> x2goclient --thinclient
>=20
> sound in an RDP-DirectConnect session works.
> So the Pulseaudio start takes place somewhere else - x2gothinclientd
> maybe? - and needs to be stopped for RDP-DirectConnect, as it blocks
> the audio device.
>=20
> How that can be accomplished, without killing sound support for
> regular X2Go sessions, I don't know.
>=20
> Who was the one that originally asked for the RDP-DirectConnect
> feature?  How do they handle sound, or do they not need it?
>=20
> -Stefan
>=20
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> http://lists.x2go.org/listinfo/x2go-dev
>=20


--8th1pNFtcl1XWvHKK4cuIT9Ij9ln8fufK
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

iQEcBAEBCgAGBQJVQLR0AAoJEAn0falXoNhDVkkH+wWBC5dFcIplD+2HGnnuICcg
sjW8GrK2YjrYxrNj3XNLuJpfOQNhLILqXdsGeIMRjkbaN6rLCnIrM3G5GtjzXO2u
ktJvwibrd3v8L4wrgGx8yO45wIYX5hhwsdYYNQy1yzRZ56rYx7cCsixxGAFwkx10
QjgT3iFcAMSAonew1t+gI+SR3w9vIZrVmMSI0ehEBcla/4u9Gm+LMUc7qDofy8Sb
MA2ijXL+SYYugkpZtTD5mZSQwDvogUUfcFL1uDcWCeK6WbO1hF/G3qMUl59T+CvA
Uv7VRTN4gMUr7jmsAeat3xFXn5A0cnzm/pvSAEXglHhR0uF5C4D0O5fwNqn8sug=
=H+hW
-----END PGP SIGNATURE-----

--8th1pNFtcl1XWvHKK4cuIT9Ij9ln8fufK--
