From unknown Sat May 16 06:36:54 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#1342: [X2Go-Dev] Bug#1342: Bug#1342: Graphical apps stalling in suspended session
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 1342@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sat, 17 Nov 2018 11:05:02 +0000
Resent-Message-ID: <handler.1342.B1342.154245247812083@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1342
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by 1342-submit@bugs.x2go.org id=B1342.154245247812083
          (code B ref 1342); Sat, 17 Nov 2018 11:05:02 +0000
Received: (at 1342) by bugs.x2go.org; 17 Nov 2018 11:01:18 +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=-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
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

This message is in MIME format and has been PGP signed.

--=_J9M0CgOYXXMU6x1Gh1wxX6S
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D<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=3D"-options nx/nx,sleep=3D0"
>>
>> 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+=3D" -options nx/nx,sleep=3D0"

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=20=20
in=20x2goagent.options. Note that the mimebox folder is used only by=20=20
Python=20X2Go, if you use X2Go Client, you can simply ignore its=20=20
non-existent.

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

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

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

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

Mike
--=20

DAS-NETZWERKTEAM
mike=20gabriel, 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


--=_J9M0CgOYXXMU6x1Gh1wxX6S
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIzBAABCAAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAlvv9N8ACgkQmvRrMCV3
GzE0nQ//TCXOYTjPvlwOxx4mpeSc1DzB1jkp/Zmfj7l6bqq/HS1TAHqHwCsJg609
stkQ+OHbRLgb8kSE8bbSLB0kTgzgx7T017+V6ILCx6z2O6y6e2/hvqsw5jcWJjBQ
c3Foo7rGy8jM5xekU6QTXOoM1iQ2bi/+1AlCjh14GKFmirTiYniNh1AvirBJarVw
raNimTBTgYaOreMMPCiDlL13zJa049EufqqOd/F4i3wrHKk4IWXUPZ0S0teizSlZ
KPNQpnlSl8qaDU9InVt4C0O0VWy3kKrT2UAWC5QOo7gsSPjxGvpK8vJkaM8dyqzV
TjfKzBALR5DpZrlls5zwGru/jpK3Sl44qRzuoI4HvSlnsE/pDJXixfv6Y9A+UrzK
qlACBNrMNloGU54kwTx0dAQ/YTHTjSFe9lb56syLktZxn95H+opBsTaAtHTW0zaG
AUliCCiEX3sXvuyk7K95CF+5zWGDUPj954mCl9AGALmSKl8aohpOmEyvM+YmWdk6
YFVqZN1d+HUb2cQhzqLWFDaRZqgXXXaYxNuwsBEuvxrkMvTFV16dcyx+6SRzFfOu
XQ8NaSdO+os5GWYDr1NBXr7A75mnal/MDPXjdbKdDvcHmkkQC87TXUe1KmB5oLTb
l+l4c+PTWv3+pG0vgm8xFU6d5t12yDiVP5nO2ovbftNncl1bbsA=
=i9oE
-----END PGP SIGNATURE-----

--=_J9M0CgOYXXMU6x1Gh1wxX6S--
