X2Go Bug report logs - #831
handle autologin failures via broker gracefully

version graph

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

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

Date: Mon, 30 Mar 2015 04:25:02 UTC

Severity: minor

Found in version 4.0.4.0

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#831: handle autologin failures via broker gracefully
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 831@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.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, 30 Mar 2015 04:25:02 +0000
Resent-Message-ID: <handler.831.B.142768949217039@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 831
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.142768949217039
          (code B); Mon, 30 Mar 2015 04:25:02 +0000
Received: (at submit) by bugs.x2go.org; 30 Mar 2015 04:24:52 +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=5.0 tests=BAYES_00,URIBL_BLOCKED
	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 AA4105DAC6
	for <submit@bugs.x2go.org>; Mon, 30 Mar 2015 06:24:49 +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 51F1FA78
	for <submit@bugs.x2go.org>; Mon, 30 Mar 2015 06:24:49 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 08CB33C0D0
	for <submit@bugs.x2go.org>; Mon, 30 Mar 2015 06:24:49 +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 YeQj5Dz96H2N for <submit@bugs.x2go.org>;
	Mon, 30 Mar 2015 06:24:48 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 7F59E3C0CF
	for <submit@bugs.x2go.org>; Mon, 30 Mar 2015 06:24:48 +0200 (CEST)
Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de
 [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Mon, 30 Mar 2015 04:24:48 +0000
Date: Mon, 30 Mar 2015 04:24:48 +0000
Message-ID: <20150330042448.Horde.SsNKfg44NrZurgLK4NxaXA1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 178.62.101.154
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_hcFH1o3fepNhI36sfXahqw9";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Package: x2goclient
Version: 4.0.4.0
Severity: minor

With brokerage enabled, the broker can mediate an autologin mechanism  
from X2Go Client to a given (brokeraged) server.

The mechanism is this:

  o broker deploys a public key in ~/.x2go/authorized_keys on
    X2Go Server
  o X2Go Client receives the corresponding private key
  o (the above is already flawed, no private keys should be sent
    over networks, I will file another bug for that)
  o in SSHd, the ~/.x2go/authorized_keys must be configured as
    potential place for authorized_keys file

If the last step is forgotten, SSH authentication with X2Go Client  
against the X2Go Server fails.

If that fails, my expectation would be a fall-back to username /  
password authentication.

But what happens, is: X2Go Client "gets stuck" in the session startup  
procedure (it's not a real freeze), it does not return to the login  
dialog widget anymore. Options remaining: closing X2Go Client and  
reopening.

I stumbled over this because of a configuration in SSH daemon on one  
of my test boxes.

Mike
-- 

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 Nov 21 18:17:50 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.