X2Go Bug report logs - #1348
ssh key discovery doesn't work with python-x2go

version graph

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

Reported by: bill-gmail@carpenter.org

Date: Sun, 25 Nov 2018 04:05:02 UTC

Severity: normal

Found in version 0.6.0.1-0~1415~ubuntu18.04.1

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

Bug is archived. No further changes may be made.

Full log


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

Received: (at submit) by bugs.x2go.org; 25 Nov 2018 04:04:12 +0000
From wjcarpenter@gmail.com  Sun Nov 25 05:03:04 2018
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=3.0 tests=BAYES_05,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MANY_SPAN_IN_TEXT,
	URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id C11085DAED
	for <submit@bugs.x2go.org>; Sun, 25 Nov 2018 05:03:03 +0100 (CET)
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 r0a8cIYLzUKJ for <submit@bugs.x2go.org>;
	Sun, 25 Nov 2018 05:02:50 +0100 (CET)
Received: from mail-ua1-x943.google.com (mail-ua1-x943.google.com [IPv6:2607:f8b0:4864:20::943])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 67C185DAE7
	for <submit@bugs.x2go.org>; Sun, 25 Nov 2018 05:02:49 +0100 (CET)
Received: by mail-ua1-x943.google.com with SMTP id p9so5255012uaa.5
        for <submit@bugs.x2go.org>; Sat, 24 Nov 2018 20:02:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:reply-to:from:date:message-id:subject:to;
        bh=clSBY/6QsfLfO/I2xUygqyib3n6RfblZNgR0frJm1rA=;
        b=MAxfSgFFOCJ5y+SKxA7oQPSORcIygEqAvzphbl1v8zIYCYnraEizRl2tyRDmzGUYAb
         o9OnStjGEAyQmUZy8mWEZwkvQqbgRX5kl4TCcxmujS7dUo4DHr8WsDzVBDgbd4bMi80T
         Ob8n7eSntjGQjKhvQCXbnLrfln9vbMtxpJDfl3Hz1ef2j6J9m6QSDgUSe/66oYiI+N5L
         lnE1VEj7n4Yee48Rx4GU9p3UapB6ybNaMBiyPsLqUS2pgKr7GfYuDoT0+UQVEjW4dDlJ
         WdXz3RLUwRCRK+3iSvEx5hNkYiMF/oILA0gXuYu63wZpuNj4hF7bIWR6VmTkSVyiDAPM
         WUGQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:reply-to:from:date:message-id
         :subject:to;
        bh=clSBY/6QsfLfO/I2xUygqyib3n6RfblZNgR0frJm1rA=;
        b=uNmBbxDIp7BPrmCOVJD5tY2aIcrgdb9RxAoW6iM0+bqxG1LRp2F3JFo3cAZKMsxR+K
         YwTE27pdzBebTSPVv3DJA6Ov80HXlRixtPBi0IFRaSjpMrGFZlTvkH5s7nfWfNXjvTyx
         87GrMuWKCAwJHiAnLOVcD4YPDmHbNq0jjQNUg1isvwoBH3ap3hAv6iH9/FWJQYalceph
         NtIEK4sTw0IxxJHF66NpQ37pNVVjRjtcjtmjwuDTKvsja/cgXJYY1T/pxyZ3YTMXa1Ba
         5QuPJ0dEMOJf9cYQlKbn0XNGmQsHG3qZFYBcFXmIUcGRxeyr2zVZRimvV3sCKuKmauRL
         w/Ww==
X-Gm-Message-State: AA+aEWYpYI9knyBsa9JJTiG+iwVO01tk16DgMcan4rV+fMFkzg7ROL2/
	lyhGxNhxVw0hvmEHDbhFJuqkM/6/5HtuXKOjoSXpDD9O
X-Google-Smtp-Source: AFSGD/X1cbT89vZYqZgo3j+/6AWXlhoYRmI4zN4AUqPePjkqDcIr8aBLnlIgWr7bpEe31dhDw8dCV8wjIq4RxHffJ8M=
X-Received: by 2002:ab0:145:: with SMTP id 63mr9293235uak.128.1543118567615;
 Sat, 24 Nov 2018 20:02:47 -0800 (PST)
MIME-Version: 1.0
Reply-To: bill-gmail@carpenter.org
From: Bill Carpenter <wjcarpenter@gmail.com>
Date: Sat, 24 Nov 2018 20:02:36 -0800
Message-ID: <CAAa-CGfOuMiFg8Boq+swebO+ZbMun2MzsoZH3Dr3mS-guPK99A@mail.gmail.com>
Subject: ssh key discovery doesn't work with python-x2go
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary="00000000000011b386057b754ae1"
[Message part 1 (text/plain, inline)]
Package: python-x2go
Version: 0.6.0.1-0~1415~ubuntu18.04.1


If a profile enables "Discover SSH keys or use SSH agent for X2Go
authentication" (that's from the PyHoca-GUI profile editor), then neither
pyhaca-gui nor pyhoca-cli can connect. The result is "pyhoca-cli: error: No
existing session". Explicitly specifying the SSH private key works. The
x2goclient (non-python) does not have this problem.

Here is some debug output of the failure.

wjc@nyuknyuk:~$ pyhoca-cli --libdebug -P stormy
pyhoca-cli[3957] NOTICE: preparing requested X2Go session
pyhoca-cli[3957] (PyHocaCLI) NOTICE: preparing requested X2Go session
pyhoca-cli[3957] (x2goinifiles-pylib) INFO: proposed config files are ['
*/home/wjc/*.x2goclient/sessions']
pyhoca-cli[3957] (x2goinifiles-pylib) INFO: config files found: ['
*/home/wjc/*.x2goclient/sessions']
pyhoca-cli[3957] (x2goinifiles-pylib) INFO: proposed config files are ['
*/home/wjc/*.x2goclient/settings']
pyhoca-cli[3957] (x2goinifiles-pylib) INFO: config files found: ['
*/home/wjc/*.x2goclient/settings']
pyhoca-cli[3957] (x2goinifiles-pylib) INFO: proposed config files are ['
*/home/wjc/*.x2goclient/printing']
pyhoca-cli[3957] (x2goinifiles-pylib) INFO: config files found: ['
*/home/wjc/*.x2goclient/printing']
pyhoca-cli[3957] (x2gosession-pylib) DEBUG: X2Go control session parameters
for profile stormy:
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     username: wjc
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     key_filename:
*/home/wjc/*.ssh/id_rsa

pyhoca-cli[3957] (x2gosession-pylib) DEBUG: unique_hostkey_aliases: False
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     look_for_keys: True
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     allow_agent: True
pyhoca-cli[3957] (x2gosession-pylib) DEBUG: X2Go terminal session
parameters for profile stormy:
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     client_encoding: ISO8859-1
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     set_session_title: False
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     snd_system: pulse
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     xinerama: False
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     server_encoding: UTF-8
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     kbtype: auto
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     rdp_server:
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     snd_port: 4713
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     applications:
[u'WWWBROWSER', u'MAILCLIENT', u'OFFICE', u'TERMINAL']
pyhoca-cli[3957] (x2gosession-pylib) DEBUG: published_applications: False
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     cmd: XFCE
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     link: lan
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     xdmcp_server: localhost
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     kbvariant: null
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     geometry: 1440x900
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     rdp_options:
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     session_type: desktop
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     convert_encoding: False
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     clipboard: both
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     kblayout: us
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     session_title:
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     dpi: 96
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     pack: 16m-jpeg-9
pyhoca-cli[3957] (x2gosession-pylib) DEBUG: X2Go sshproxy parameters for
profile stormy:
pyhoca-cli[3957] (x2gosession-pylib) DEBUG: sshproxy_look_for_keys: False
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     sshproxy_host:
pyhoca-cli[3957] (x2gosession-pylib) DEBUG: sshproxy_key_filename:
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     sshproxy_user:
pyhoca-cli[3957] (x2gosession-pylib) DEBUG:     sshproxy_port: 22
pyhoca-cli[3957] (x2gosession-pylib) DEBUG: initializing X2GoControlSession
pyhoca-cli[3957] (x2gosessregistry-pylib) NOTICE: registering X2Go session
stormy...
pyhoca-cli[3957] (x2gosessregistry-pylib) DEBUG: registering X2Go session
with UUID 3902ce3c-f052-11e8-8b86-94c6911c02ca
pyhoca-cli[3957] (x2goclient-pylib) NOTICE: initializing X2Go session...
pyhoca-cli[3957] (x2gocontrolsession-pylib) NOTICE: connecting to [
stormy.carpenter.org]:22
pyhoca-cli[3957] (x2gocontrolsession-pylib) DEBUG: trying SSH key discovery
or agent authentication with server
No handlers could be found for logger "paramiko.transport"
pyhoca-cli: error: No existing session
pyhoca-cli[3957] (x2goguardian-pylib) DEBUG: X2Go session guardian thread
waking up after 1 seconds
pyhoca-cli[3957] (x2goguardian-pylib) DEBUG: calling session cleanup on
profile stormy for terminal session:
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Nov 24 12:16:25 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.