From unknown Wed May 20 06:54:38 2026
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

This message is in MIME format and has been PGP signed.

--=_AmZyqP8X6vk20nmZ83SNSA1
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20=20
and=20terminated sessions from NX session.log and I added several fixes=20=
=20
[1,=202].

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=20=
=20
the=20behaviour improves with those fixes? Here I was not able to resume=20=
=20
a=20session several times, but now it works (with the same session).

Greets,
Mike

[1]=20=20
http://code.x2go.org/gitweb?p=3Dx2goserver.git;a=3Dcommitdiff;h=3D59a4c563d=
cc0589c9d74834f7020990c642a3910
[2]=20=20
http://code.x2go.org/gitweb?p=3Dx2goserver.git;a=3Dcommitdiff;h=3D4c72b8a24=
2b54f465f3fed327b759c680f24bfaa
[3]=20=20
http://code.x2go.org/gitweb?p=3Dx2goserver.git;a=3Dcommitdiff;hp=3D618505bd=
c73006b38b6e2345573abb4199684564;h=3Dbe77a7ddd48e2762783dfb6c1a6e4d9291bfbb=
48


--=20

DAS-NETZWERKTEAM
mike=20gabriel, 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.x=
fb

--=_AmZyqP8X6vk20nmZ83SNSA1
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJTdG0pAAoJEJr0azAldxsx+ncP/11LVtuktkkBh3fiTiBjCH8P
JwYGaxPbYMVpicjtNA0l1pKr9Tn7Uv71ycMvUQwdISi3wYAD9LEv6ZC72NpoYZEt
/qMzkad1M+Pf291Yo9HGeXUHIgR5r0hrX/EJTWyCMfVN/T0lFhiDPYTk9ClRVOF9
DkR3dzwNnRs7qrHWnTBVQ3JZs7lzjrnYYA2Nl66y8faZ8yBaswWw7mu1UHqQT8ic
Bp7/o5LzQ+Q5x3+nfpFLp4gTEK/L2vUPQLNbkhvBlhMA25pyO76urik/bCV4n7m8
2exrvIZQnC/QlN72/1fEQPsE9DM8VmkeI0PMKzuL6uVIgF3w0kJbDAhtoo9pDrk6
xh58yez0LrqiUd9nv5A8+crxFtI8uA3VA/tCxlmQOXQn2p/vw3Hf3TqLVb3V3ydb
6w7jCd1ZK+DNsboBHaSfJSVbC0vW8x1669hoV/5Cp9GnYP0648SCAe6LYQxX/fVa
yWcdY7a8ciqPtqNo5AMx0CGMBpRC2O766Vn/lZx8zQ10XRu1A48toNA11OwXsJJp
bGwNrGMSdrGNltKXf0z77npE9XS/A0jE0C5b3TLX0mb7SgyE5rcQ7S/c0NDnSSlo
GweFFR0GjcRZQ6OjA2usZPenP7TC+x901C4GjJYZWVGSh+7Ow1mgpPZeoA4STmdY
AXMR0T1C0KxKzI2hh1+/
=Ocqs
-----END PGP SIGNATURE-----

--=_AmZyqP8X6vk20nmZ83SNSA1--
