X2Go Bug report logs - #1425
pulseaudio messages filling server logs

version graph

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

Reported by: Ville Salmela <ville.salmela@csc.fi>

Date: Wed, 11 Dec 2019 12:45:02 UTC

Severity: normal

Tags: pending

Found in version 4.1.1.1

Fixed in version 4.1.2.2

Done: X2Go Release Manager X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1425: pulseaudio messages filling server logs
Reply-To: Ville Salmela <ville.salmela@csc.fi>, 1425@bugs.x2go.org
Resent-From: Ville Salmela <ville.salmela@csc.fi>
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, 11 Dec 2019 12:45:02 +0000
Resent-Message-ID: <handler.1425.B.157606828924737@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1425
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.157606828924737
          (code B); Wed, 11 Dec 2019 12:45:02 +0000
Received: (at submit) by bugs.x2go.org; 11 Dec 2019 12:44:49 +0000
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.0 required=3.0 tests=BAYES_20,HTML_MESSAGE,
	SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2
Received: from smtp1.csc.fi (smtp1.csc.fi [IPv6:2001:708:10:6004::14])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 427355DAEA
	for <submit@bugs.x2go.org>; Wed, 11 Dec 2019 13:44:47 +0100 (CET)
Received: from tapir.csc.fi (tapir.csc.fi [86.50.27.201])
	by smtp1.csc.fi (8.14.4/8.14.4/CSC) with ESMTP id xBBCikEB008533
	(version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <submit@bugs.x2go.org>; Wed, 11 Dec 2019 14:44:46 +0200
Received: from tapir.csc.fi (localhost [127.0.0.1])
	by tapir.csc.fi (Postfix) with ESMTPS id 15CEE9FE89
	for <submit@bugs.x2go.org>; Wed, 11 Dec 2019 14:44:46 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
	by tapir.csc.fi (Postfix) with ESMTP id 0A6949FBF3
	for <submit@bugs.x2go.org>; Wed, 11 Dec 2019 14:44:46 +0200 (EET)
Received: from tapir.csc.fi ([127.0.0.1])
	by localhost (tapir.csc.fi [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id G_FUrDf4mbDg for <submit@bugs.x2go.org>;
	Wed, 11 Dec 2019 14:44:45 +0200 (EET)
Received: from zebra.csc.fi (zebra.csc.fi [86.50.27.101])
	by tapir.csc.fi (Postfix) with ESMTP id F03459FBE1
	for <submit@bugs.x2go.org>; Wed, 11 Dec 2019 14:44:45 +0200 (EET)
Date: Wed, 11 Dec 2019 14:44:45 +0200 (EET)
From: Ville Salmela <ville.salmela@csc.fi>
To: submit@bugs.x2go.org
Message-ID: <763250959.5969855.1576068285942.JavaMail.zimbra@csc.fi>
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="=_8c385062-a04d-44ed-b539-882ece695d13"
X-Originating-IP: [193.166.1.131]
X-Mailer: Zimbra 8.8.15_GA_3888 (ZimbraWebClient - FF68 (Linux)/8.8.15_GA_3890)
Thread-Index: /+tjJt/3Bo2G31oopU6nMobZnZtf2g==
Thread-Topic: pulseaudio messages filling server logs
X-CanIt-Geo: ip=86.50.27.201; country=FI; latitude=60.1708; longitude=24.9375; http://maps.google.com/maps?q=60.1708,24.9375&z=6
X-CanItPRO-Stream: 00_Opt_Out (inherits from default)
X-Scanned-By: CanIt (www . roaringpenguin . com) on 86.50.27.145
[Message part 1 (text/plain, inline)]
Package: x2goclient 
Version: 4.1.1.1 

x2goserver logs are filled with these: 
Dec 11 12:05:08 server pulseaudio[25146]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 
Dec 11 12:05:08 server pulseaudio[25148]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 
Dec 11 12:05:10 server pulseaudio[25156]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 
Dec 11 12:05:10 server pulseaudio[25158]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 
Dec 11 12:05:12 server pulseaudio[25162]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 
Dec 11 12:05:12 server pulseaudio[25164]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 
Dec 11 12:05:14 server pulseaudio[25172]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 
Dec 11 12:05:14 server pulseaudio[25174]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 
Dec 11 12:05:16 server pulseaudio[25178]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 
Dec 11 12:05:16 server pulseaudio[25180]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 
Dec 11 12:05:19 server pulseaudio[25183]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 
Dec 11 12:05:19 server pulseaudio[25185]: [pulseaudio] main.c: User-configured server at localhost:48283, refusing to start/autospawn. 

ssh is using ssh pipe to connect to the pulseaudio server of the client. When a session is disconnected this pipe is cut and apps using pulseaudio clients are trying respawn the pulseaudio found in x2goserver which they should not do. The following patch tells them not to try that and the issue is fixed. 

--- 1/x2goclient-4.1.1.1/src/onmainwindow.cpp 2018-02-15 22:42:31.000000000 +0200 
+++ 2/x2goclient-4.1.1.1/src/onmainwindow.cpp 2019-12-11 14:16:27.000000000 +0200 
@@ -5674,8 +5674,13 @@ 
"/.pulse-cookie"+ 
"\" >> \"${HOME}/.x2go/C-"+ 
resumingSession.sessionId+ 
+ "/.pulse-client.conf\"" 
+ ";echo \"autospawn=no\" >> " 
+ "\"${HOME}/.x2go/C-"+ 
+ resumingSession.sessionId+ 
"/.pulse-client.conf\""; 

+ 
sshConnection->executeCommand (scmd); 

bool sysPulse=false; 

[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Nov 27 03:23:26 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.