X2Go Bug report logs - #1058
Option to force new session when suspended session is present

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

Reported by: Stefan Baur <x2go-ml-1@baur-itcs.de>

Date: Sat, 9 Jul 2016 07:35:02 UTC

Severity: normal

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1058: RfC: Bug #1058
Reply-To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 1058@bugs.x2go.org
Resent-From: Stefan Baur <X2Go-ML-1@baur-itcs.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: Sat, 06 Aug 2016 19:05:01 +0000
Resent-Message-ID: <handler.1058.B1058.147051020530893@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1058
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 1058-submit@bugs.x2go.org id=B1058.147051020530893
          (code B ref 1058); Sat, 06 Aug 2016 19:05:01 +0000
Received: (at 1058) by bugs.x2go.org; 6 Aug 2016 19:03:25 +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=3.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 2DB5D5DE0C
	for <1058@bugs.x2go.org>; Sat,  6 Aug 2016 21:03:23 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id P9QRTmx-hYWD for <1058@bugs.x2go.org>;
	Sat,  6 Aug 2016 21:03:16 +0200 (CEST)
X-Greylist: delayed 772 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Sat, 06 Aug 2016 21:03:16 CEST
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 8830C5DB7E
	for <1058@bugs.x2go.org>; Sat,  6 Aug 2016 21:03:16 +0200 (CEST)
Received: from [192.168.0.171] ([78.43.90.159]) by mrelayeu.kundenserver.de
 (mreue104) with ESMTPSA (Nemesis) id 0MVM1m-1bjt663OgA-00YlbT; Sat, 06 Aug
 2016 20:50:09 +0200
To: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>, 1058@bugs.x2go.org,
 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>,
 "Heinz-M. Graesing" <heinz-m@graesing.de>,
 Michael DePaulo <mikedep333@gmail.com>
References: <6d4d0db7-50d8-c560-71c4-a3fc8b4073f1@baur-itcs.de>
 <71AECC00-5204-42AE-8265-A4571F8DEBC1@phoca-gmbh.de>
Cc: Mihai Moldovan <ionic@ionic.de>
From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Message-ID: <65d1d1e4-a935-5799-7848-38d670ecb544@baur-itcs.de>
Date: Sat, 6 Aug 2016 20:49:46 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <71AECC00-5204-42AE-8265-A4571F8DEBC1@phoca-gmbh.de>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="U3AKFQLB7U9XiFgWjtUM73IFPoteDQw2r"
X-Provags-ID: V03:K0:TVQq2l8j8T2jFMR4oyJQ3xr24hFO4iBjlzwdrnLGaHWLoknxBeV
 o7JhR2A7SX9CCX2MWCwLRVy54LS7HY8u7/azGdEqJ8+DBk978oFIGZymAe1QzDJ7Opu7DEO
 60iehsT+2mTHFhX5zJ0zrqbViJd/k4bwZGomBjnePCH20S9ntH7zP28CSsNZ9L8JmimDtLO
 R+zBhuBVFIO6K3CRBDC1w==
X-UI-Out-Filterresults: notjunk:1;V01:K0:yTZfRGihrGQ=:HY7CSV5MNskeliUI9Twu7U
 rDuVqLbBLZ/F9GJCw4eworz5ORaTF2dNogfUa/JwXZgF77g/awocoycu0pVXa7Q+pH3x8KILq
 8Ab7WnZ9neaNraXGy1H1BhO44jfV+G+qYuCuEf2W6dkIJy4viYvl7EhChu70dTFlqUI556xT2
 B5g/42ZSxPRUi2FRnIkY1YSIBa07Rh0UWCRLZ6qybuQdcuewvXua1moUZpk5d7N1f01CWPk0/
 SgKZdPRHoKxAFqgo4yK7qe1A00tVv9PvqvUOKO/drkFSN7ttEzOYVg8EDpnTkmTeckL12L3oZ
 xuREXDiKoV0eyAFMAYhrFGgYK74LdwuKWNslpIsX5BOyOVqQ7CwiyzkssgVwsErLuy1TjHc8c
 DndPSC+GxeOjFEqkgyF12F3mWwzeXZS9JyjrzYhaw7f8IIzHV6UcwlcMJGMJ56d2KbxaZ9ItL
 uxxr/243L0E+1VoXJ1imv4URZ69TtSE9CS7K+dbodaP4nIws0gTcNbiOulR4uidb1gfEiwjF7
 vxJCk4AAJ7CUTnhlv4bkSnodrTlqaM2T3jV9UcSpR5VuRQFI2T0GzjzWFOgqldKAfIFVgt0Nv
 htmwtE+tWcGqvenMj66pIKDjBeJwh6/NK4XxXxGYDc0AtpHqtEVi631JnyHiPR8MxH/LS2vQo
 zBCW3x3tG/ThB1uRmYtw+y0lEoTr5geSkRmovt6gVBdpJobB5J2r7c4L8fLTwRBgq7a0=
[Message part 1 (text/plain, inline)]
Hi Alex,

sorry for the late reply.

I assume you are referring to this change:
http://code.x2go.org/gitweb?p=x2goclient.git;a=commit;h=80f9632dab86d3218bfab703888a14c64e477c82
which is titled: add "--no-autoresume" parameter.

Sadly, this fixes only 50-33% of the issues we are seeing, and for which
we have paying customers/sponsors.

Situation 1:
A connection should always spawn a new session.
Cleanup of hung sessions is taken care of by regular reboots.

Situation 2:
A connection should always show the reconnect dialog when there is at
least one running or suspended session by the same user.
This is what your patch does, if I understand you correctly.

Situation 3:
A connection should always reconnect immediately if there is exactly one
suspended session.

Also, I am seeing a different behavior in reality than what the specs say.

My understanding is that Situation 3 should be the default (i.e. before
you added --no-autoresume) - BUT - it never works for me in my personal
setup (Windows 7 x64, X2GoClient 4.0.5.1-2016.06.05 or alternatively
x2goclient-4.0.5.2-2016.05.18, Debian stable, X2Go stable on the host,
Published Application Mode).

When my connection fails (which it occasionally does - flaky router, I
guess), I am always seeing the reconnect dialog, with my session in
suspended state, and I have to select it manually.  All this while I
have exactly one session.
In addition to that, I am occasionally  receiving a message that the
remote proxy closed the connection, possibly due to wrong credentials,
then on the second attempt, the reconnect works.  I'm using Pageant as
an SSH agent, not password auth, so it is impossible that I mistyped a
password.
There are other machines where this works flawlessly, though, so I am
confused as to what makes the client change its mind here.  Maybe you
are treating published applications differently than full
screen/windowed desktops?

In any case, if this is happening to me, it is probably happening to
other users as well, and thus creating the impression that the behavior
is non-deterministic.  So, we should fix it.  The question remains: How?

Kind Regards,
Stefan

Am 17.07.2016 um 15:07 schrieb Oleksandr Shneyder:
> There is a command line argument to change this behavior. I added it several weeks ago. 
> 
> Am 17. Juli 2016 12:34:30 MESZ, schrieb Stefan Baur <X2Go-ML-1@baur-itcs.de>:
>> Hi everyone,
>>
>> we're planning a change to X2GoClient that might impact existing users.
>>
>> As we haven't received any feedback from you when it was posted to the
>> Bugtracker and X2Go-Dev, I'm pinging you directly and asking for
>> comments (via BTS only, please - the reply-to header of this mail is
>> already pointing to it).
>>
>> See: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1058
>>
>> Kind Regards,
>> Stefan Baur
> 
> --
> ----------------------------------------------------------
> Oleksandr Shneyder       | Email: o.shneyder@phoca-gmbh.de
> phoca GmbH               | Tel. : 0911 - 14870374 0
> Harzstr. 4               | Fax. : 0911 - 14870374 9
> D-90491 Nürnberg         | Mobil: 0163 - 49 64 461
> 
> Geschäftsführung:
> Dipl.-Inf. Oleksandr Shneyder
> 
> Amtsgericht München      | http://www.phoca-gmbh.de
> HRB 196 658              | http://www.x2go.org
> USt-IdNr.: DE281977973
> 


-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:53:31 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.