X2Go Bug report logs - #865
New API call for nxcom (nx-libs) NXTransCleanupForReconnect

version graph

Package: nx-libs; Maintainer for nx-libs is X2Go Developers <x2go-dev@lists.x2go.org>;

Reported by: Nito Martinez <Nito@Qindel.ES>

Date: Thu, 7 May 2015 22:45:01 UTC

Severity: normal

Tags: fixed-upstream, patch

Found in version

Fixed in version

Forwarded to https://github.com/ArcticaProject/nx-libs/pull/25

Full log

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

Received: (at 865) by bugs.x2go.org; 8 May 2015 10:07:32 +0000
From mike.gabriel@das-netzwerkteam.de  Fri May  8 12:07:31 2015
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 EF6125DA80
	for <865@bugs.x2go.org>; Fri,  8 May 2015 12:07:30 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id A2AC2AAD;
	Fri,  8 May 2015 12:07:30 +0200 (CEST)
Received: from localhost (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 53DBE3B9AB;
	Fri,  8 May 2015 12:07:30 +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 8KhbKlsZIU-c; Fri,  8 May 2015 12:07:30 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id DC85E3B99B;
	Fri,  8 May 2015 12:07:29 +0200 (CEST)
Received: from m-097.informatik.uni-kiel.de (m-097.informatik.uni-kiel.de
 []) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Fri, 08 May 2015 10:07:29 +0000
Date: Fri, 08 May 2015 10:07:29 +0000
Message-ID: <20150508100729.Horde.Uvz1oqL8aihkXmSEvbzNhg4@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Nito Martinez <Nito@qindel.es>, 865@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#865: New API call for nxcom (nx-libs)
In-Reply-To: <554BE9D8.8080007@Qindel.ES>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: de,en
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_FvRx6Yb1m1sz8ygeUZLrWA4";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Nito,

On  Fr 08 Mai 2015 00:40:24 CEST, Nito Martinez wrote:

> Package: nx-libs
> Version:
> Description:
> The following patch includes support for a new API call  
> NXTransCleanupForReconnect, which basically clears the state of  
> nxcomp proxy side (modified nxproxy), so that a reconnection is  
> possible.
> Rationale:
> Usually nxproxy clears the status of the connection by doing an exit  
> and launching a new nxproxy. This strategy does not work for  
> applications in IOS which do not allow forking.
> Special care has been taking to not modify any of the other nxcomp code.
> Regards,
> Nito

This is a nice patch! Please also provide a PR on Github against 3.6.x  
branch on https://github.com/ArcticaProject/nx-libs for this patch.

I will then merge it and recommend it for backporting to 3.5.0.x.

This feature is actually a very cool thing for the Arctica redesign of  
remote desktop computing via NX.

Question: have you tested connection setup changes (speed, compression  
algo, etc.) in connection with NXTransCleanupForReconnect? As I  
understand your patch, it should well facilitate roaming between  
networks (switching from cable to Wifi to GSM and stuff like that),  


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: Tue Mar 31 14:26:11 2020; 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.