X2Go Bug report logs - #861
No Sound in TCE-RDP-directConnect

version graph

Package: x2gothinclient; Maintainer for x2gothinclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2gothinclient is src:x2gothinclient.

Reported by: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Date: Wed, 29 Apr 2015 10:15:02 UTC

Severity: normal

Found in version 1.1.0.2

Full log


Message #20 received at 861@bugs.x2go.org (full text, mbox, reply):

Received: (at 861) by bugs.x2go.org; 29 Apr 2015 12:09:28 +0000
From X2Go-ML-1@baur-itcs.de  Wed Apr 29 14:09:26 2015
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 <X2Go-ML-1@baur-itcs.de>
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;
[Message part 1 (text/plain, inline)]
Am 29.04.2015 um 12:37 schrieb Florian Wicke - Hetzner Online AG:

> 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.

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

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Apr 19 13:08:44 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.