X2Go Bug report logs - #1426
[pulseaudio]: Denied access to client with invalid authentication data

Package: x2gothinclient-displaymanager; Maintainer for x2gothinclient-displaymanager is (unknown);

Reported by: Walid MOGHRABI <w.moghrabi@travaux.com>

Date: Wed, 11 Dec 2019 18:20:02 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to x2go-dev@lists.x2go.org, owner@bugs.x2go.org:
Bug#1426; Package x2gothinclient-displaymanager. (Wed, 11 Dec 2019 18:20:02 GMT) (full text, mbox, link).

Acknowledgement sent to Walid MOGHRABI <w.moghrabi@travaux.com>:
New Bug report received and forwarded. Copy sent to owner@bugs.x2go.org.

Your message specified a Severity: in the pseudo-header, but the severity value bug was not recognised. The default severity normal is being used instead. The recognised values are: critical, grave, important, normal, minor, wishlist.

(Wed, 11 Dec 2019 18:20:02 GMT) (full text, mbox, link).

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

From: Walid MOGHRABI <w.moghrabi@travaux.com>
To: submit@bugs.x2go.org
Subject: [pulseaudio]: Denied access to client with invalid authentication data
Date: Wed, 11 Dec 2019 19:18:32 +0100
[Message part 1 (text/plain, inline)]
package: x2gothinclient-displaymanager
priority: bug

Since very recent pulseaudio updates on Ubuntu 18.04, when opening a new
X2Go session in thinclient mode, I get no sound inside the session.
I'm using XFCE as my desktop on a Ubuntu 16.04 x2go server setup and in
pavucontrol, it says that it can't contact the pulseaudio server, retrying
every 5s.

I managed to find the solution to this issue, this is the pulseaudio server
that is spawned by the /usr/sbin/x2gothinclientd script.
Apparently, we need now to explicitly authorize anonymous connections to
the server and thus, here is a quick patch I did to make things work again
as before.

This is a very simple one, I hope you apply it soon so that I can remove
that patch from my build process.

Cheers !

--- /usr/sbin/x2gothinclientd
+++ /usr/sbin/x2gothinclientd
@@ -182,7 +182,7 @@
  if ( !check_pulse() )
  system("su - x2gothinclient -c \"DISPLAY=:0 pulseaudio -D " .
-       "-L 'module-native-protocol-tcp port=4713 ' " .
+       "-L 'module-native-protocol-tcp port=4713 auth-anonymous=1' " .
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun May 26 03:33:54 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.