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 3.5.0.28

Fixed in version 3.5.99.0

Done: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Bug is archived. No further changes may be made.

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

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#865: [X2Go-Dev] Bug#865: New API call for nxcom (nx-libs) NXTransCleanupForReconnect
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 865@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: Fri, 08 May 2015 10:10:02 +0000
Resent-Message-ID: <handler.865.B865.143107965225703@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 865
X-X2Go-PR-Package: nx-libs
X-X2Go-PR-Keywords: 
Received: via spool by 865-submit@bugs.x2go.org id=B865.143107965225703
          (code B ref 865); Fri, 08 May 2015 10:10:02 +0000
Received: (at 865) by bugs.x2go.org; 8 May 2015 10:07:32 +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 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 [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id A2AC2AAD;
	Fri,  8 May 2015 12:07:30 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	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 ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (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 [127.0.0.1])
	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
 [134.245.254.97]) 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
In-Reply-To: <554BE9D8.8080007@Qindel.ES>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 134.245.254.97
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: 3.5.0.28
>
> 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),  
right?

Mike
-- 

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: Sun Nov 24 00:23:36 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.