From X2Go-ML-1@baur-itcs.de  Sat Aug  6 21:03:23 2016
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
Subject: Re: RfC: Bug #1058
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=

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--U3AKFQLB7U9XiFgWjtUM73IFPoteDQw2r
Content-Type: multipart/mixed; boundary="WbXSC1pFjWg5vfU5kMd3ssjeWkqV2OTeK"
From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
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>
Cc: Mihai Moldovan <ionic@ionic.de>
Message-ID: <65d1d1e4-a935-5799-7848-38d670ecb544@baur-itcs.de>
Subject: Re: RfC: Bug #1058
References: <6d4d0db7-50d8-c560-71c4-a3fc8b4073f1@baur-itcs.de>
 <71AECC00-5204-42AE-8265-A4571F8DEBC1@phoca-gmbh.de>
In-Reply-To: <71AECC00-5204-42AE-8265-A4571F8DEBC1@phoca-gmbh.de>

--WbXSC1pFjWg5vfU5kMd3ssjeWkqV2OTeK
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Alex,

sorry for the late reply.

I assume you are referring to this change:
http://code.x2go.org/gitweb?p=3Dx2goclient.git;a=3Dcommit;h=3D80f9632dab8=
6d3218bfab703888a14c64e477c82
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=
=2E

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 se=
veral weeks ago.=20
>=20
> Am 17. Juli 2016 12:34:30 MESZ, schrieb Stefan Baur <X2Go-ML-1@baur-itc=
s.de>:
>> Hi everyone,
>>
>> we're planning a change to X2GoClient that might impact existing users=
=2E
>>
>> 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=3D1058
>>
>> Kind Regards,
>> Stefan Baur
>=20
> --
> ----------------------------------------------------------
> Oleksandr Shneyder       | Email: o.shneyder@phoca-gmbh.de
> phoca GmbH               | Tel. : 0911 - 14870374 0
> Harzstr. 4               | Fax. : 0911 - 14870374 9
> D-90491 N=C3=BCrnberg         | Mobil: 0163 - 49 64 461
>=20
> Gesch=C3=A4ftsf=C3=BChrung:
> Dipl.-Inf. Oleksandr Shneyder
>=20
> Amtsgericht M=C3=BCnchen      | http://www.phoca-gmbh.de
> HRB 196 658              | http://www.x2go.org
> USt-IdNr.: DE281977973
>=20


--=20
BAUR-ITCS UG (haftungsbeschr=C3=A4nkt)
Gesch=C3=A4ftsf=C3=BChrer: Stefan Baur
Eichen=C3=A4ckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243


--WbXSC1pFjWg5vfU5kMd3ssjeWkqV2OTeK--

--U3AKFQLB7U9XiFgWjtUM73IFPoteDQw2r
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXpjFPAAoJEG7d9BjNvlEZWNQH/RNcCJyZ6wNnZrpJn9Pob34N
x4KoygrDZDpZ3rYv7XdLHMv574ITyVF3ZsnormcFUFrExQpdf2Dk5ryDvd5gtVSw
iUtIVMbe/vNSpwlQ9kKcbKHsVuCLvlbr8vsxk/K+HGsdksdKxtzIpHje+oWxwydp
bbP6NtdDTMCvw5a9giyFY4/yjqX5Ychge9NYOCO6EYwkwDX5Mn9WJd3eoLklmLk+
XV2wPlSKBN4hjEstMcsZour79jCNqQIlgPngJGQKfKMPDVRRahIP8GRD03KDhksf
4QVvmIISIQNURCEtAIryon3ckmKTPfXquyVE2XDk8qFq5u6ais/epQS6C1ca30E=
=hXk9
-----END PGP SIGNATURE-----

--U3AKFQLB7U9XiFgWjtUM73IFPoteDQw2r--

