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

Full log


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

Received: (at submit) by bugs.x2go.org; 11 Dec 2019 18:18:52 +0000
From w.moghrabi@travaux.com  Wed Dec 11 19:18:49 2019
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,HTML_MESSAGE,SPF_HELO_NONE autolearn=ham autolearn_force=no
	version=3.4.2
Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 21C3E5DAEA
	for <submit@bugs.x2go.org>; Wed, 11 Dec 2019 19:18:45 +0100 (CET)
Received: by mail-ot1-x344.google.com with SMTP id 59so676304otp.12
        for <submit@bugs.x2go.org>; Wed, 11 Dec 2019 10:18:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=travaux-com.20150623.gappssmtp.com; s=20150623;
        h=mime-version:from:date:message-id:subject:to;
        bh=mpaarg2Aeciqhv/EzlkqoJvVeIFXGTY0FCAJluLC37o=;
        b=i8wD4hQvEGsYEI0JgX1SWJHnGv7IhlAL4M22W8NwdEvyIUYvl9Yswv3QBAgTRWAx4F
         GRs0dX2lcyNVoSYKjxsmdjBQlFYIUuv7AjkFSvkIHR0Ek7rbzEDtCLEFVjBmq7wM2/ms
         SoyBa6yhPQIhz/enlsAEUF4sxOL1ZgtYK8iBvKvC7NWLwOopT868VTXxM3tRG5CwicD1
         +HRQLNlUDA6J2fHzMijI0ugHAfTtsZR+YMwxMCLneWidBMYgbmpIeSU5o/aV/tpWmmnf
         SjxsqsdA6G6J+thbPrKQgkn798Qs94fHPAZSDnOudRyR76kn3pKG1vE8oCDycZDcInNe
         77Ww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
        bh=mpaarg2Aeciqhv/EzlkqoJvVeIFXGTY0FCAJluLC37o=;
        b=Ytt6Ia1cw/k2/yapgzH4isLDfzVeZ0JodV/QMXucI+7QJylogByOfI7YyDdBY5YlPH
         LvV37sO8xqtwQX9wWQG3DVzVAGMuvFvviqeJeuUjwNPeiOoNoYd49hsyvtalQg65vjOr
         gHh0DLmoYff7l/+MHMPHevkgK50FlvMFVRUnlMmua7H3mnXXGZz1HcR7pUvBUylkUUL7
         CTWX7Z+piDrnLLBIU2p72bLThdTHUskP1jKgffdQU6ZYsJ97BlwYoh+LpixQOy5GvTSL
         AtCHPq9FAMCTPF1KHu87zDgDZKL8HXnUaV4JU1ii16aFSTjZ8g6jmY5gbHXakA/ctiGm
         KyCw==
X-Gm-Message-State: APjAAAVdzeFmjVQXdOfHiQ3VZqpRnSSdo0xKcMYgG+SiK5c9fQjfGrno
	To+24s1tkLI9fogJsyJa838TEK4dQgnnE5BnHLIIzzLDWCZeFA==
X-Google-Smtp-Source: APXvYqyLHzAovqrK5YnlaDo8n92QUWHnBYVnFzPsG+CLG83JL1Bvq1Wzh8m29AvmyRCU+tLQrncbkU6Ijz7pvv6SSwY=
X-Received: by 2002:a05:6830:22ee:: with SMTP id t14mr3167101otc.236.1576088323258;
 Wed, 11 Dec 2019 10:18:43 -0800 (PST)
MIME-Version: 1.0
From: Walid MOGHRABI <w.moghrabi@travaux.com>
Date: Wed, 11 Dec 2019 19:18:32 +0100
Message-ID: <CAEsAe8Oq2cySDsOe6OnCOcZcAjiqkz5++LsPQm2RTYCUeYo=hQ@mail.gmail.com>
Subject: [pulseaudio]: Denied access to client with invalid authentication data
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary="000000000000a52229059971a830"
[Message part 1 (text/plain, inline)]
package: x2gothinclient-displaymanager
priority: bug

Hi,
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' " .
        "--exit-idle-time=65535\"");
  }
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 14:55:03 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.