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 4.0.1.16

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

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#495: [X2Go-Dev] Bug#495: failure to reconnect after abrupt (CTRL-C / SIGINT) termination of x2goclient, corrupt x2go_sessions file?
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 495@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: Thu, 15 May 2014 07:35:02 +0000
Resent-Message-ID: <handler.495.B495.14001390513052@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 495
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by 495-submit@bugs.x2go.org id=B495.14001390513052
          (code B ref 495); Thu, 15 May 2014 07:35:02 +0000
Received: (at 495) by bugs.x2go.org; 15 May 2014 07:30:51 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
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 [88.198.48.199])
	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 [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 46631339;
	Thu, 15 May 2014 09:30:48 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	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 ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Vpd14IHxUq51; Thu, 15 May 2014 09:30:50 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	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 [213.178.75.58]) 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,
 submit@bugs.x2go.org
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
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 213.178.75.58
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).

Greets,
Mike

[1]  
http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=59a4c563dcc0589c9d74834f7020990c642a3910
[2]  
http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=4c72b8a242b54f465f3fed327b759c680f24bfaa
[3]  
http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;hp=618505bdc73006b38b6e2345573abb4199684564;h=be77a7ddd48e2762783dfb6c1a6e4d9291bfbb48


-- 

DAS-NETZWERKTEAM
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

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Dec 4 08:43:52 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.