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

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1058; Package x2goclient. (Sat, 09 Jul 2016 07:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Baur <x2go-ml-1@baur-itcs.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sat, 09 Jul 2016 07:35:03 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.x2go.org (full text, mbox):

From: Stefan Baur <x2go-ml-1@baur-itcs.de>
To: submit@bugs.x2go.org
Subject: Option to force new session when suspended session is present
Date: Sat, 9 Jul 2016 09:25:03 +0200
package: x2goclient

priority: wishlist


Hi,

currently, when a suspended session is present and the parameters match
the ones specified on the connection that is about to be established, it
is silently assumed that a reconnect should take place.

We are thinking how this could be changed in a way that doesn't break
the current expected behavior, yet still allows forcing a new session in
parallel to the suspended one.

Possible options:

Adding ...

- a command line parameter

- a per-session setting

- a global setting

- some hack like

  - right-clicking the tile

  - right-clicking the OK button

  - an option in the pull-down menu of the tile

... to enforce a parallel connection when desired.


The solution we would currently prefer is:

- *always* show the reconnect dialog when a suspended session is present

- *if* there is exactly one matching session

  - preselect it

  - add a countdown timer to the OK button

  - once the countdown hits 0, pretend OK was pressed, and resume the
session

  - any click anywhere else aborts the countdown

- make 15 seconds the default value for the countdown 

  - add a global parameter (CLI and GUI) to set it to another value (0
equals "never assume reconnect")

  - add command line options --always-assume-reconnect and
--never-assume-reconnect
    (alternatively, allow -1 for the global parameter and treat that as
"always assume reconnect", and forget these two command line options)


Does anyone else have suggestions regarding this?

We have a customer willing to pay for improvements here, but would like
to channel the wisdom of the masses before implementing it.  Maybe
someone has an idea that would be even better?

Kind Regards,

Stefan Baur

-- 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


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1058; Package x2goclient. (Sun, 17 Jul 2016 13:40:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sun, 17 Jul 2016 13:40:03 GMT) Full text and rfc822 format available.

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

From: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
To: 1058@bugs.x2go.org,Stefan Baur <X2Go-ML-1@baur-itcs.de>,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>
Subject: Re: RfC: Bug #1058
Date: Sun, 17 Jul 2016 15:07:41 +0200
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


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1058; Package x2goclient. (Sat, 06 Aug 2016 19:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sat, 06 Aug 2016 19:05:02 GMT) Full text and rfc822 format available.

Message #15 received at 1058@bugs.x2go.org (full text, mbox):

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>
Subject: Re: RfC: Bug #1058
Date: Sat, 6 Aug 2016 20:49:46 +0200
[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)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1058; Package x2goclient. (Thu, 12 Oct 2017 13:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Τριανταφυλλιά Άννα Καττούλα <tkattoula@culture.gr>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 12 Oct 2017 13:25:02 GMT) Full text and rfc822 format available.

Message #20 received at 1058@bugs.x2go.org (full text, mbox):

From: Τριανταφυλλιά Άννα Καττούλα <tkattoula@culture.gr>
To: "IN@TUG.NET" <IN@TUG.NET>
Subject: RE: Very Urgent
Date: Thu, 12 Oct 2017 13:09:56 +0000
[Message part 1 (text/plain, inline)]

Complement of the season, I wish to inform you about an urgent Transaction I have for you.
For more details, Please contact my private Gmail: mrsamychan6@gmail.com

Best Regards,

Mrs Amy Chan.


[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1058; Package x2goclient. (Mon, 01 Oct 2018 13:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Susanne Rantamäki <Susanne.Rantamaki@korsholm.fi>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 01 Oct 2018 13:40:03 GMT) Full text and rfc822 format available.

Message #25 received at 1058@bugs.x2go.org (full text, mbox):

From: Susanne Rantamäki <Susanne.Rantamaki@korsholm.fi>
To: "NO-REPLY@MICROSOFT.NET" <NO-REPLY@MICROSOFT.NET>
Subject: Τελική προειδοποίηση της Microsoft
Date: Mon, 1 Oct 2018 12:07:54 +0000
[Message part 1 (text/plain, inline)]
ΕΝΗΜΕΡΩΣΗ ΕΝΗΜΕΡΩΣΗΣ EMAIL


Ας σημειωθεί αμέσως ότι ο λογαριασμός σας ηλεκτρονικού ταχυδρομείου θα αποκλειστεί σύντομα αν δεν αναβαθμιστεί τώρα στη νεότερη έκδοση του λογαριασμού ηλεκτρονικού ταχυδρομείου της Microsoft. Κάντε κλικ εδώ<https://paediatrics2.wixsite.com/outlook> για αναβάθμιση τώρα.

Λογαριασμός στην ομάδα αναβάθμισης

Πνευματικά δικαιώματα 2005-2018 © Webmail Inc. Όλα τα σωστά αποθέματα.



































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Mon Dec 10 04:11:02 2018; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.