X2Go Bug report logs - #302
No session resume

version graph

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

Reported by: Avi Elbaz <avilebaz@gmail.com>

Date: Thu, 5 Sep 2013 16:03:01 UTC

Severity: normal

Tags: confirmed, patch, pending

Merged with 206, 263

Found in version 3.5.0.24

Fixed in version 3.5.0.25

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

Bug is archived. No further changes may be made.

Full log


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

Received: (at 302) by bugs.x2go.org; 26 Jun 2014 06:10:59 +0000
From mike.gabriel@das-netzwerkteam.de  Thu Jun 26 08:10:58 2014
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,WEIRD_PORT
	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 B31E95DB1B
	for <302@bugs.x2go.org>; Thu, 26 Jun 2014 08:10:58 +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 6E0262AD5;
	Thu, 26 Jun 2014 08:10:58 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 5EED93B9EC;
	Thu, 26 Jun 2014 08:10:58 +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 GYpji9m9i6OS; Thu, 26 Jun 2014 08:10:58 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 252DD3B9E8;
	Thu, 26 Jun 2014 08:10:58 +0200 (CEST)
Received: from pD9E9F59B.dip0.t-ipconnect.de (pD9E9F59B.dip0.t-ipconnect.de
 [217.233.245.155]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Thu, 26 Jun 2014 06:10:58 +0000
Date: Thu, 26 Jun 2014 06:10:58 +0000
Message-ID: <20140626061058.Horde.0pr2cxjBJe2ofUG9-_Irjg1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>, 302@bugs.x2go.org
Subject: Patch review for #302 (was: Re: [X2Go-Dev] Bug#302: (no subject))
References: <53AAE0F8.6070707@phoca-gmbh.de>
In-Reply-To: <53AAE0F8.6070707@phoca-gmbh.de>
User-Agent: Internet Messaging Program (IMP) H5 (6.1.7)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 217.233.245.155
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101
 Firefox/30.0 Iceweasel/30.0
Content-Type: multipart/signed; boundary="=_VGC3-vA4-siV9n5datbohg1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Control: reassign -1 nxagent
Control: found -1 3.5.0.24
Control: fixed -1 3.5.0.25
Control: tag -1 confirmed

### the bug is pending anyway, so I don't set the pending tag  
explicitly above.

Hi Alex

On  Mi 25 Jun 2014 16:47:20 CEST, Oleksandr Shneyder wrote:

> """
> Control: tag -1 - pending
> Control: reassign -1 nxagent
> Control: tag -1 confirmed

The bug tracker accepts these commands, but the leading quotes (""")  
of the mail body have prohibited the control commands to be executed  
in the BTS system...

> Hi all,
>
> I made some changes in nx and x2goserver sources:
>
> http://code.x2go.org/gitweb?p=x2goserver.git;a=commit;h=cee48577633c72988dd8563ceae7bf04cfe7d518

These patches have been committed on the master branch of X2Go Server.  
On the master branch we have been developing the next major release of  
X2Go Server for a while. The release of 4.1.0.0 has been pending  
because I want to get Telekinesis and mTeleplayer into that next major  
release (X2Go 4.1.0.0 ?). Maybe we need a new codename for that next  
release (Baikal+1).

(1)
So, if you want to get this code (or the essence of it) into the next  
x2goserver 4.0.1.16 release (which is overdue already), you have to  
backport your changes to the release/4.0.1.x branch in x2goserver.git

 $ git checkout release/4.0.1.x

With small patches, I normally try "git cherry-pick  
<commithash-on-master-branch>" but with such a large code changes,  
esp. around the newly introduced X2Go::Server Perl package, this is  
not possible. So the inclusion in x2goserver 4.0.1.16 would mean this:

  o backport the patch to release/4.0.1.x branch manually
  o you can try git cherry-pick, but the fixing of conflicts will  
need quite some Git knowledge...
  o commit the fix to release/4.0.1.x branch, mention it in changelog  
stanza of 4.0.1.16
  o on master branch move your changelog entry from 4.1.0.0 down to 4.0.1.16

(2)
The commit breaks the RPM nightly builds [1]. Once everything under  
(1) has been sorted out, I can take a look at that.

(3)
The commit causes some installation dependency trouble on  
Debian/Ubuntu. I won't get to fixing issues before this afternoon, so  
maybe you can take a look at that already (remove dropped dependencies  
/ Perl packages from "Depends:" (libfile-readbackwards-perl), add new  
dependencies / Perl packages to "Depends: where appropriate...  
(libswitch-perl is missing) ).

(4)
If the issue is really solved with this approach, please remove the  
x2gonxcleanup code again from the sources, so that we don't have  
unused code in the X2Go Server source tree.



> http://code.x2go.org/gitweb?p=nx-libs.git;a=commit;h=c62b81304ca9906fe608f7387025162107d8d8ab

(1)
The patch's filename (211_nxcomp_set_default_options.patch) won't make  
it into the release tarball. The debian/roll-tarball.sh scripts  
expects a ".full." in the patch filename for patches that are for  
nx-libs (nxcomp, nxcompshad, nxcompext, nx-X11) and a ".full+lite."  
for patches that should make it into the nx-libs tarball release _AND_  
into the nx-libs-lite tarball release (i.e. nxcomp+nxproxy).

So for this patch, please rename the file to  
211_nxcomp_set_default_options.full+lite.patch. Make sure to adapt the  
debian/patches/series file with this commit.

(2)
The patch number is 211, but the position in debian/patches/series is  
at the very end. Please match patch number _and_ position in the  
series file. At the end of the series file there are a few  
Debian/Ubuntu specific patches (".debian.patch"). Only those patches  
get applied at the very end of the patching processes. The patch  
number denotes, that the patch relates to an earlier patch of the same  
number.



> http://code.x2go.org/gitweb?p=nx-libs.git;a=commit;h=9f6eb6f796e81b00ff5b37c9abc89bb159e4e372

(1)
Please rename the patch filename to  
210_nxagent_nxcomp_save_session_state.full.patch
                                                                          ^^^^
(2)
Please fix the patch's position in the debian/patches/series file.

> This should fix #302 I was able to restore all sessions on windows an
> Linux after crashes of x2goclient, nxproxy and by network failure.


Greets,
Mike

[1] https://jenkins.x2go.org:8443/view/Server/


-- 

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: Thu Mar 28 23:28:40 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.