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 #45 received at 1342@bugs.x2go.org (full text, mbox, reply):

Received: (at 1342) by bugs.x2go.org; 23 Nov 2018 11:07:32 +0000
From yk+bug+x2go@64.re  Fri Nov 23 12:07:26 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.9 required=3.0 tests=BAYES_00,URIBL_BLOCKED
	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 47C995DACD
	for <1342@bugs.x2go.org>; Fri, 23 Nov 2018 12:07:26 +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 9kvN5nEx67kq for <1342@bugs.x2go.org>;
	Fri, 23 Nov 2018 12:07:05 +0100 (CET)
Received: from mslow2.mail.gandi.net (mslow2.mail.gandi.net [217.70.178.242])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 937785DAED
	for <1342@bugs.x2go.org>; Fri, 23 Nov 2018 12:07:05 +0100 (CET)
Received: from relay5-d.mail.gandi.net (unknown [217.70.183.197])
	by mslow2.mail.gandi.net (Postfix) with ESMTP id 362233A6F79
	for <1342@bugs.x2go.org>; Fri, 23 Nov 2018 11:09:11 +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 64EAF1C0027
	for <1342@bugs.x2go.org>; Fri, 23 Nov 2018 10:08:50 +0000 (UTC)
Date: Fri, 23 Nov 2018 11:08:48 +0100
From: yk+bug+x2go@64.re
To: 1342@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1342: Bug#1342: Graphical apps stalling in
 suspended session
Message-ID: <20181123110848.76c1efcf.mx@64.re>
In-Reply-To: <CANVnVYLRHa-95UBXtbPfT1u2M1OA7_1UNMfhy4YZrGkUE5Yx4g@mail.gmail.com>
References: <20181114184726.667d6ae6.mx@64.re>
	<CANVnVYKK+6+Gi1=DAYgDtuvT1MZzOLTqxZQgiBNQ6-2ZUJWF9g@mail.gmail.com>
	<20181115174830.29fc8337.mx@64.re>
	<CANVnVYLRHa-95UBXtbPfT1u2M1OA7_1UNMfhy4YZrGkUE5Yx4g@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 Fri, 16 Nov 2018 09:54:51 +0100
Ulrich Sibiller <ulrich.sibiller@gmail.com> wrote:

> In my tests I have changed the _first_ entry in the options file, the
> one without the +. Does that make any difference for you?

It does not make any difference about the session suspension issue if I
either set "-options" alone (without the +=) or with any combination of
the other occurences in the file /etc/x2go/x2goagent.options

> > mimebox and tools are not created in the x2go session folder
> > (/tmp/.x2go-user/<session>).
> > This side effect is kind of worse for us.  
> 
> Can you please explain in detail? I am wondering what is happening
> here.

The problem that I get when adding the/setting the -option switch is
that I cannot suspend the session any more (e.g. the
x2gosuspend-session command does not suspend the session) and I'm
getting the following line every 2 seconds in the log:

/usr/sbin/x2gocleansessions[1115]: <user>-50-1542963751_stDXFCE_dp32:
state file for this session does not
exist: /tmp/.x2go-<user>/C-<user>-50-1542963751_stDXFCE_dp32/state
(this can be ignored during session startups)

I also have some files missing as I stated previously (clients,
keyboard, state) which I think is linked somehow to the issue.

> You can also try - instead of using the non-obvious setting in
> x2goagent.setting - to adapt x2gostartagent on the server to integrate
> that option into the generated options file.

Do you mean I should wrap a script around the x2gostartagent executable?
Or is there an configuration file somewhere that I can use?



On Sat, 17 Nov 2018 11:00:47 +0000
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> wrote:

> 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.

I have only 2 lines uncommented on this file, and I checked several
times, so I don't think there is any syntax error.

> 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!

We are using the X2Go client, I will try to grab the debug version and
run it.



On Tue, 20 Nov 2018 15:45:01 -0700
Orion Poplawski <orion@nwra.com> wrote:

> See https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1322 for my
> proposal for addressing this on the server side.  I believe by adding
> the line above you are messing up many of the default options.
> According to the man page of nxagent:
> 
>       -options filename
>                path to an options file containing nx/nx options (see
> below).

Thanks for the suggestion. I barely have time to debug the issue, I'm
afraid having to patch and compile anything will be too time consuming.
I guess I'll wait for nightly builds if the patch is considered for
inclusion in the project.


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 20:28:32 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.