From yk+bug+x2go@64.re Thu Nov 15 19:43:13 2018 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 Subject: Re: [X2Go-Dev] Bug#1342: Graphical apps stalling in suspended session Message-ID: <20181115174830.29fc8337.mx@64.re> In-Reply-To: References: <20181114184726.667d6ae6.mx@64.re> 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 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= > 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/). This side effect is kind of worse for us.