X2Go Bug report logs - #1342
Graphical apps stalling in suspended session

version graph

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

Reported by: yk+bug+x2go@64.re

Date: Wed, 14 Nov 2018 19:15:01 UTC

Severity: normal

Found in version 4.0.1.0

Full log


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

Received: (at 1342) by bugs.x2go.org; 17 Nov 2018 11:01:18 +0000
From mike.gabriel@das-netzwerkteam.de  Sat Nov 17 12:01:14 2018
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.1 required=3.0 tests=BAYES_00,RDNS_NONE,
	URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id C044D5DAF0
	for <1342@bugs.x2go.org>; Sat, 17 Nov 2018 12:01:14 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 4L4pahg28uBF for <1342@bugs.x2go.org>;
	Sat, 17 Nov 2018 12:01:09 +0100 (CET)
Received: from fregna.das-netzwerkteam.de (unknown [IPv6:2a01:4f8:202:1381::1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 81B405DA26
	for <1342@bugs.x2go.org>; Sat, 17 Nov 2018 12:01:09 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [IPv6:2a01:4f8:202:1381::105])
	by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id 6BE4F60523;
	Sat, 17 Nov 2018 11:01:09 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 64A9BC25AD;
	Sat, 17 Nov 2018 12:01:09 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id W8mT1fxGlx7q; Sat, 17 Nov 2018 12:01:03 +0100 (CET)
Received: from das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id E5F71C25AE;
	Sat, 17 Nov 2018 12:00:47 +0100 (CET)
Received: from x590fec3a.dyn.telefonica.de (x590fec3a.dyn.telefonica.de
 [89.15.236.58]) by mail.das-netzwerkteam.de (Horde Framework) with HTTPS;
 Sat, 17 Nov 2018 11:00:47 +0000
Date: Sat, 17 Nov 2018 11:00:47 +0000
Message-ID: <20181117110047.Horde.zZTN_Oztf96owmQR1Zw3wlv@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: yk+bug+x2go@64.re, 1342@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1342: Bug#1342: Graphical apps stalling in
 suspended session
References: <20181114184726.667d6ae6.mx@64.re>
 <CANVnVYKK+6+Gi1=DAYgDtuvT1MZzOLTqxZQgiBNQ6-2ZUJWF9g@mail.gmail.com>
 <20181115174830.29fc8337.mx@64.re>
In-Reply-To: <20181115174830.29fc8337.mx@64.re>
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 89.15.236.58
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Firefox/60.0
Content-Type: multipart/signed; boundary="=_J9M0CgOYXXMU6x1Gh1wxX6S";
 protocol="application/pgp-signature"; micalg=pgp-sha256
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi,

On  Do 15 Nov 2018 17:48:30 CET, yk+bug+x2go wrote:

> On Wed, 14 Nov 2018 21:50:59 +0100
> Ulrich Sibiller <ulrich.sibiller@gmail.com> wrote:
>
>> That has been implemented on purpose by nomachine to take some load
>> off the server. You can disable that via the sleep option:
>>        sleep=<int>
>>               delay X server operations when suspended (provided in
>> msec), set to 0 to keep nxagent session fully functional when
>> suspended (e.g. useful when mirroring an nxagent session via VNC)
>>
>> You can set this sleep to 0 in /etc/x2go/x2goagent.options on the
>> server with the following line:
>> X2GO_NXAGENT_DEFAULT_OPTIONS="-options nx/nx,sleep=0"
>>
>> This in non-obvious and should be a client option instead... Can you
>> please try if that helps for your setup?
>
> So I tried this options by adding it to the previous ones:
> X2GO_NXAGENT_DEFAULT_OPTIONS+=" -options nx/nx,sleep=0"

ok...

> It seems to solve indeed the problem at least for glxgears, which now
> runs faster when I quit the x2go client, which is what I expect.
> However, it has the serious side effect of preventing the sessions to
> be suspended; the files clients, keyboard, state and the folders
> mimebox and tools are not created in the x2go session folder
> (/tmp/.x2go-user/<session>).
> This side effect is kind of worse for us.

This is indeed peculiar.  Are you sure, not syntax error is involved  
in x2goagent.options. Note that the mimebox folder is used only by  
Python X2Go, if you use X2Go Client, you can simply ignore its  
non-existent.

For tracking this down, you need to provide some debug output of the  
X2Go Server side.

Also, let us know, if you use X2Go Client or PyHoca-CLI or -GUI on the  
client-side.

If you use PyHoca-*, run it with "--libdebug" on a cmd line and  
provide the debug output.

If you use X2Go Client, you can use the --debug switch, but beware...  
it will reveal user passwords, so don't send that unedited to a public  
mailing list!

Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:24:45 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.