From unknown Fri Apr 17 08:18:07 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#1218: Improve User Experience when connecting to a session that is supposed to use agent-cached credentials or a keyfile
Reply-To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 1218@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: Mon, 25 Sep 2017 09:55:02 +0000
Resent-Message-ID: <handler.1218.B.150633308626830@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1218
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.150633308626830
          (code B); Mon, 25 Sep 2017 09:55:02 +0000
Received: (at submit) by bugs.x2go.org; 25 Sep 2017 09:51:26 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-4.7 required=3.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2
	autolearn=ham autolearn_force=no version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id AAAD45DACF
	for <submit@bugs.x2go.org>; Mon, 25 Sep 2017 11:51: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 a5YXCCBAQuxZ for <submit@bugs.x2go.org>;
	Mon, 25 Sep 2017 11:51:13 +0200 (CEST)
X-Greylist: delayed 301 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Mon, 25 Sep 2017 11:51:13 CEST
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 51E2A5DA81
	for <submit@bugs.x2go.org>; Mon, 25 Sep 2017 11:51:13 +0200 (CEST)
Received: from [192.168.0.15] ([78.43.91.217]) by mrelayeu.kundenserver.de
 (mreue005 [212.227.15.129]) with ESMTPSA (Nemesis) id
 0MFwkk-1eBI4D1Umc-00EtIo; Mon, 25 Sep 2017 11:46:11 +0200
To: submit@bugs.x2go.org, Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Message-ID: <8cb9504b-393b-3b81-2f15-a45eec31b085@baur-itcs.de>
Date: Mon, 25 Sep 2017 11:46:09 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.3.0
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="HbdvCMQEWKP01VE7NIx7UNsNUfSIBWLgf"
X-Provags-ID: V03:K0:ROW/Tar12fzhg+weO1psAXfpf0xIZCoQdINbxmSYoz/hdoCagqS
 uhbxUxKvkaiLoKVGxXdXYnnaX7sZvlDZxtTpFOGvhA/xzoe1oK7048B2vXH1R/wz15Lt6NN
 ciw3AOn8jB+DEKfRIlZECaAoF3ImMcbGKAw+XK3bdzYt7FSYuaIC2gRg27+uMQnjdAG/jry
 ifTbnbcWmuKYsHc2W/5+A==
X-UI-Out-Filterresults: notjunk:1;V01:K0:Y60IhktFKr4=:swcW+Rxe7boGjT11O1rW8L
 2Rl96/EeNarwQ495EeMKpHxQefikgJdTc9UFb7Oud1WNP8ztNtsZl+DgZrhr1CYQvE+W/zNKj
 /LPULEoQHTBwgwyqse3ctgnQDBWF/35cVcDp1G3bLscr94+5FmrGcBOTwoYzNOBO/BBi99M/d
 iDJ37cDU8GVipwZKQ776fIgz7H7jInjE6esLpvYg2zw55aRXBZeppzf6ExNx6KMfTvjodtOy7
 X3Iev7Atn+f6sso6Uz8tTICj6u/3tIKNKb8cad9B+8NUU7bk9LQ4mH4HRj/AANWBuTBdEaSuY
 KVsqjaaB8ZPLJuJx8c7jNtpYj5KTxY4VKmE3loA+uDuyxqd6aj7WEZpD7SkNTHL8ezTNgHQHO
 EW25WlpvxDBuKzHkj5XWtoYvNHquexlGC6GWgsEfhDFAF1lxPvmQSN7H58UQI+DdDFcSTa5Gr
 U1+zAeRkxGO6C7JOAL6+GQNR8Vsnk1xLg7b6DYquUPfNXvSmuUvAasx6iLCggAYAmqnxRm7rz
 AU2GQh7VWZEtOmOk07yC9N5v9MikNctA6FBejkKgoHtWvERb3oRsl9lnFLeywqm9EuunPlplE
 m4g8NA+DQm1qkOsBAjGDJOiHkTZmJZpnDnqvTJCsq8CcK0XyU97iXezt4paCcMCSAwThJJCck
 N0TAS8nxAoHEHXchJ9JBIp5ocuJE+n5nRyip2p81ZOC1uMLihv6kutIUIfw4wIFLBVRGKhbsU
 8rIxx4OuMdwh0n59VGmgnDF/LHmBf4TR6SGQ0A==

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--HbdvCMQEWKP01VE7NIx7UNsNUfSIBWLgf
Content-Type: multipart/mixed; boundary="F2pxOddjDMEd6Xjb70I8QUpFsUVN5hdHt";
 protected-headers="v1"
From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: submit@bugs.x2go.org, Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
Message-ID: <8cb9504b-393b-3b81-2f15-a45eec31b085@baur-itcs.de>
Subject: Improve User Experience when connecting to a session that is supposed
 to use agent-cached credentials or a keyfile

--F2pxOddjDMEd6Xjb70I8QUpFsUVN5hdHt
Content-Type: text/plain; charset=utf-8
Content-Language: de-DE
Content-Transfer-Encoding: quoted-printable

package: x2goclient
priority: wishlist

Whe an X2Go session is set to use agent-cached credentials or a keyfile,
clicking on the session tile will automatically start a connection
(unless a keyfile is used and it is password-protected - in that case, a
small pop-up is shown that asks for the keyfile's password).

If the connection is suspended - be it by a user-initiated suspend
command or due to loss of connection - X2GoClient shows the same
login/password dialog that is shown on initial connect for a session
that is not set up to use agent-cached credentials or a keyfile.

This is confusing to the user - as simply clicking "OK" without using
the password field is enough to reconnect. There's no need to show an
editable user name field and a password entry field.

Suggested change:
When the client detects a connection loss/suspend, it should return to
its default "select a tile" screen, if the session was using
agent-cached credentials or a keyfile.
If logging in with the agent-cached credentials/keyfile does not work, a
popup similar to the one asking for the keyfile password should appear,
only with a different visual design and textual description, so users
have a chance to understand they are being prompted for the login
password, rather than the keyfile password.

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


--F2pxOddjDMEd6Xjb70I8QUpFsUVN5hdHt--

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

iQEcBAEBCAAGBQJZyNBiAAoJEG7d9BjNvlEZ1r0H/A/uA4UXZn0uURp4W1K6XGEE
I/QuoBKkLMBBsEKAkeohHj4HoktXpf9a//G0DqTd+h9DWXPyUH9yyuiwm7QJ7f4X
Cwc5mgIcG/2ApWARC+yBIHzE1osUUycQnQnTSpVGL0lvNi9uLA2NI4A5y7VGot7Q
0b2G4V9jusb6nNtNFQZ04Jk7O7PvlRADUonN2vmsDsO5LJ4WQEqMKwf5ZmrvIQ0q
QMpEPHeZ2c2INrQmmywaD/bhJ06jdtWybTlknZEK7lehUx/MYVAaRomN8hR/CZyy
2hP177uFUW8W/7kdZptaTCgvdtNKPx2kCug8P4pykhRt8B/CIG6klxTyGuZAvtY=
=msxY
-----END PGP SIGNATURE-----

--HbdvCMQEWKP01VE7NIx7UNsNUfSIBWLgf--
