X2Go Bug report logs - #495
failure to reconnect after abrupt (CTRL-C / SIGINT) termination of x2goclient, corrupt x2go_sessions file?

version graph

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

Reported by: Robert Izzard <izzard@astro.uni-bonn.de>

Date: Fri, 9 May 2014 14:25:01 UTC

Severity: normal

Tags: pending

Found in version 4.0.15-0~847

Fixed in version

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log

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

Received: (at 495) by bugs.x2go.org; 15 May 2014 07:30:51 +0000
From mike.gabriel@das-netzwerkteam.de  Thu May 15 09:30:51 2014
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 22A735DB1B;
	Thu, 15 May 2014 09:30:51 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 46631339;
	Thu, 15 May 2014 09:30:48 +0200 (CEST)
Received: from localhost (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 2185D3BA90;
	Thu, 15 May 2014 09:30:50 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([])
	by localhost (grimnir.das-netzwerkteam.de []) (amavisd-new, port 10024)
	with ESMTP id Vpd14IHxUq51; Thu, 15 May 2014 09:30:50 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id D536E3BA7C;
	Thu, 15 May 2014 09:30:49 +0200 (CEST)
Received: from nocatv2.tng.de (nocatv2.tng.de []) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Thu, 15 May 2014
 07:30:49 +0000
Date: Thu, 15 May 2014 07:30:49 +0000
Message-ID: <20140515073049.Horde.dypkbruVAq2FEaGsqqFrxQ2@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Robert Izzard <izzard@astro.uni-bonn.de>, 495@bugs.x2go.org,
Subject: Re: [X2Go-Dev] Bug#495: failure to reconnect after abrupt (CTRL-C /
 SIGINT) termination of x2goclient, corrupt x2go_sessions file?
References: <20140509152410.d75b53b33b4c0ccda9db6696@astro.uni-bonn.de>
In-Reply-To: <20140509152410.d75b53b33b4c0ccda9db6696@astro.uni-bonn.de>
User-Agent: Internet Messaging Program (IMP) H5 (6.1.7)
Accept-Language: en,de
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101
 Firefox/29.0 Iceweasel/29.0.1
Content-Type: multipart/signed; boundary="=_AmZyqP8X6vk20nmZ83SNSA1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Robert,

On  Fr 09 Mai 2014 15:24:10 CEST, Robert Izzard wrote:

> Steps to repeat:
> 1) On the client, open a new desktop on the server using
> x2goclient. (I am running KDE but I doubt it matters).
> 2) On the client, press CTRL-C to stop x2goclient.
> 3) On the client, try to reconnect -- it fails with errors (which
> are very hard to copy-paste as they go so fast, this is a bug in
> the GUI):

> [...]

> In .x2go/C-SESSION_ID/session.log on the server, I now have the
> following text repeated over and over:
> Session: Suspending session at 'Fri May 9 15:08:49 2014'.
> [then hundreds or thousands of times, with later timestamps]

The above made me curious once more...

I have looked at the X2Go Server code that detects running, suspended  
and terminated sessions from NX session.log and I added several fixes  
[1, 2].

Similar fixes are available on the 4.0.1.x release branch [3], as well.

Do you think you can patch your X2Go Server installation and verify if  
the behaviour improves with those fixes? Here I was not able to resume  
a session several times, but now it works (with the same session).




mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
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: Sun Jan 17 02:06:01 2021; 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.