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

Found in version 4.1.1.1

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, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1425; Package x2goclient. (Wed, 11 Dec 2019 12:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Ville Salmela <ville.salmela@csc.fi>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 11 Dec 2019 12:45:02 GMT) (full text, mbox, link).


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

From: Ville Salmela <ville.salmela@csc.fi>
To: submit@bugs.x2go.org
Subject: pulseaudio messages filling server logs
Date: Wed, 11 Dec 2019 14:44:45 +0200 (EET)
[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: Sat Jan 18 12:36:57 2020; 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.