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


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1342: [X2Go-Dev] Bug#1342: Graphical apps stalling in suspended session
Reply-To: yk+bug+x2go@64.re, 1342@bugs.x2go.org
Resent-From: yk+bug+x2go@64.re
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 15 Nov 2018 18:45:02 +0000
Resent-Message-ID: <handler.1342.B1342.154230739613831@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.154230739613831
          (code B ref 1342); Thu, 15 Nov 2018 18:45:02 +0000
Received: (at 1342) by bugs.x2go.org; 15 Nov 2018 18:43:16 +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.8 required=3.0 tests=BAYES_50 autolearn=ham
	autolearn_force=no version=3.4.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id A5FA45DAF4
	for <1342@bugs.x2go.org>; Thu, 15 Nov 2018 19:43:13 +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 QFDGEqjdMOU1 for <1342@bugs.x2go.org>;
	Thu, 15 Nov 2018 19:43:02 +0100 (CET)
X-Greylist: delayed 4632 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Thu, 15 Nov 2018 19:43:02 CET
Received: from mslow2.mail.gandi.net (mslow2.mail.gandi.net [217.70.178.242])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 20E4F5DAEF
	for <1342@bugs.x2go.org>; Thu, 15 Nov 2018 19:43:01 +0100 (CET)
Received: from relay5-d.mail.gandi.net (unknown [217.70.183.197])
	by mslow2.mail.gandi.net (Postfix) with ESMTP id 1B9933A916D
	for <1342@bugs.x2go.org>; Thu, 15 Nov 2018 17:48:53 +0100 (CET)
X-Originating-IP: 51.15.181.35
Received: from zsxc (ni.64.re [51.15.181.35])
	(Authenticated sender: mx@64.re)
	by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 5C3A31C0010
	for <1342@bugs.x2go.org>; Thu, 15 Nov 2018 16:48:32 +0000 (UTC)
Date: Thu, 15 Nov 2018 17:48:30 +0100
From: yk+bug+x2go@64.re
To: 1342@bugs.x2go.org
Message-ID: <20181115174830.29fc8337.mx@64.re>
In-Reply-To: <CANVnVYKK+6+Gi1=DAYgDtuvT1MZzOLTqxZQgiBNQ6-2ZUJWF9g@mail.gmail.com>
References: <20181114184726.667d6ae6.mx@64.re>
	<CANVnVYKK+6+Gi1=DAYgDtuvT1MZzOLTqxZQgiBNQ6-2ZUJWF9g@mail.gmail.com>
X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
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"

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.

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Dec 13 08:33:01 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.