X2Go Bug report logs - #1470
x2goserver: Broken x2goversion results in failed connection

version graph

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

Reported by: Randy Goldenberg <randy.goldenberg@gmail.com>

Date: Tue, 19 May 2020 06:05:02 UTC

Severity: normal

Found in version 4.1.0.3-0~1708~ubuntu16.04.1

Full log


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

Received: (at submit) by bugs.x2go.org; 19 May 2020 06:00:55 +0000
From randy.goldenberg@gmail.com  Tue May 19 08:00:52 2020
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED
	autolearn=ham autolearn_force=no version=3.4.2
Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id AF8355DAF0
	for <submit@bugs.x2go.org>; Tue, 19 May 2020 08:00:50 +0200 (CEST)
Received: by mail-pj1-x102a.google.com with SMTP id ci21so860186pjb.3
        for <submit@bugs.x2go.org>; Mon, 18 May 2020 23:00:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:subject:message-id:mime-version:content-disposition
         :user-agent;
        bh=L9WW1mIvYMo5JZMUZZoCbsQqHIqxrfWSNQ6GBC8fuBI=;
        b=tJ4YUnfjTfpSDFDlEvnKrCfkGVorU3j3K3Zu3C+DBCTpdLXF35xiKOVyMNzK+HeQbK
         GpHSpw7va66WklR0QF1TyXkD4aPIW7AAYQAQsIyxNHjzkyYx1URd5VC/PT0920km/2P8
         XRrorVOpk3sj7lNMOe2/9Z+tYgBgOoLZfTQ+yt5c5+mw67H7nocWU6U6idSNdFUYGmvZ
         7T5+jXjSomsroWihF0wG30ULXd28IG66gm1fI2qcUJf5u4F9TpPShdmT5pmPiwvxjspr
         MpERvjVcxMGlZBLga7RG5v2vVfpvxNWLjgIpr8YCg5u/yLLZKVVJbwJ6aLwrNyMYeTSa
         WS+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:subject:message-id:mime-version
         :content-disposition:user-agent;
        bh=L9WW1mIvYMo5JZMUZZoCbsQqHIqxrfWSNQ6GBC8fuBI=;
        b=OV+xFop2R5hbe/zc9NBLwXDL0gmJ0dF4S6T2ABYthKeVKGccw18aYLaI58Xf88okF+
         +L5OaFST6geK4Tv9kBsP+AvNDzIKU9FsYmmYPrz6frkxvOILo/Pp0c7de4EWB/oZvPqM
         oYdonEf64+VY2MdVbJcSzD3PSwcb/JiqHkkumXe63tN7JPwhMabRPjA5mkdelPnfHqsO
         3XmagAJrpvwfKFD6WBH8BPaoZ4rCKw99z7+CTMjb0QEa8Hxj4OcWtrFYbapTOc7P7p3r
         1ZHxHOOHsE9oqSHp5fW879paS2RyS7RYQyov5l3W3gHbLJPxj26WXJ9lSoC1YiwEB+eR
         26Kw==
X-Gm-Message-State: AOAM532OBHoLtGldS4yNIPywWwMEfPnJgCRgUe6cClz64hP+irg/2omn
	TqgTp00VNTNsrMIo8qHqzwHxesEk2UM=
X-Google-Smtp-Source: ABdhPJzpWRU/c8INqS+H2ZUs39xZ7Xj/wiW3OnB88jakXy/H/BhHY96ebb465aS8MFtDYmM1QH3lIQ==
X-Received: by 2002:a17:90b:798:: with SMTP id l24mr3315910pjz.208.1589868048266;
        Mon, 18 May 2020 23:00:48 -0700 (PDT)
Received: from rg1.lan ([69.172.163.82])
        by smtp.gmail.com with ESMTPSA id v3sm464776pja.8.2020.05.18.23.00.46
        for <submit@bugs.x2go.org>
        (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
        Mon, 18 May 2020 23:00:47 -0700 (PDT)
Date: Mon, 18 May 2020 23:00:45 -0700
From: Randy Goldenberg <randy.goldenberg@gmail.com>
To: submit@bugs.x2go.org
Subject: x2goserver: Broken x2goversion results in failed connection
Message-ID: <20200519060045.ctcltvinl3jkrgjl@rg1.lan>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="dig7xfuxwuwcqu3b"
Content-Disposition: inline
User-Agent: NeoMutt/20180716
[Message part 1 (text/plain, inline)]
Package: x2goserver
Version: 4.1.0.3-0~1708~ubuntu16.04.1

Attempts to connect to x2goserver fail, with error message "the remote server 
does not have the X2Go Server software installed". Transcript is provided 
below.  Issue appears to be caused by what is likely a typo in x2goversion.  
Patch attached.


pyhoca-cli[2151] NOTICE: preparing requested X2Go session
pyhoca-cli[2151] (PyHocaCLI) NOTICE: preparing requested X2Go session
pyhoca-cli[2151] (x2goinifiles-pylib) INFO: proposed config files are ['/home/some_user/.x2goclient/sessions']
pyhoca-cli[2151] (x2goinifiles-pylib) INFO: config files found: ['/home/some_user/.x2goclient/sessions']
pyhoca-cli[2151] (x2goinifiles-pylib) INFO: proposed config files are ['/home/some_user/.x2goclient/settings']
pyhoca-cli[2151] (x2goinifiles-pylib) INFO: config files found: ['/home/some_user/.x2goclient/settings']
pyhoca-cli[2151] (x2goinifiles-pylib) INFO: proposed config files are ['/home/some_user/.x2goclient/printing']
pyhoca-cli[2151] (x2goinifiles-pylib) INFO: config files found: ['/home/some_user/.x2goclient/printing']
pyhoca-cli[2151] (x2gosession-pylib) DEBUG: X2Go control session parameters for profile Pyhoca-Client_Session:
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     look_for_keys: True
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     unique_hostkey_aliases: False
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     username: some_user
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     key_filename: /home/some_user/.ssh/id_rsa
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     allow_agent: True
pyhoca-cli[2151] (x2gosession-pylib) DEBUG: X2Go terminal session parameters for profile Pyhoca-Client_Session:
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     pack: 16m-jpeg-9
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     clipboard: both
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     xinerama: False
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     applications: ['WWWBROWSER', 'MAILCLIENT', 'OFFICE', 'TERMINAL']
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     kdrive: False
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     set_session_title: False
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     session_title: 
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     link: adsl
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     server_encoding: UTF-8
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     client_encoding: UTF-8
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     convert_encoding: False
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     kblayout: null
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     kbtype: auto
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     kbvariant: null
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     snd_system: pulse
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     snd_port: 4713
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     cmd: openbox-session
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     published_applications: False
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     rdp_options: -u X2GO_USER -p X2GO_PASSWORD
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     rdp_server: 
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     xdmcp_server: localhost
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     geometry: maximize
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     session_type: desktop
pyhoca-cli[2151] (x2gosession-pylib) DEBUG: X2Go sshproxy parameters for profile Pyhoca-Client_Session:
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     sshproxy_host: proxyhost.mydomain
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     sshproxy_port: 22
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     sshproxy_user: 
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     sshproxy_key_filename: 
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     sshproxy_look_for_keys: True
pyhoca-cli[2151] (x2gosession-pylib) DEBUG:     sshproxy_allow_agent: True
pyhoca-cli[2151] (x2gosession-pylib) DEBUG: initializing X2GoControlSession
pyhoca-cli[2151] (x2gosessregistry-pylib) NOTICE: registering X2Go session Pyhoca-Client_Session...
pyhoca-cli[2151] (x2gosessregistry-pylib) DEBUG: registering X2Go session with UUID b72abe00-996b-11ea-9a8e-d543e4783396
pyhoca-cli[2151] (x2goclient-pylib) NOTICE: initializing X2Go session...
pyhoca-cli[2151] (x2gocontrolsession-pylib) NOTICE: connecting to [rg1.lan]:1957
pyhoca-cli[2151] (x2gocontrolsession-pylib) DEBUG: trying SSH key discovery or agent authentication with server
pyhoca-cli[2151] (x2gocontrolsession-pylib) INFO: executing command on X2Go server ,,Pyhoca-Client_Session'': echo X2GODATABEGIN:b72abe01-996b-11ea-9a8e-d543e4783396; PATH=/usr/local/bin:/usr/bin:/bin sh -c "which x2gofeaturelist >/dev/null && x2gofeaturelist"; echo X2GODATAEND:b72abe01-996b-11ea-9a8e-d543e4783396
pyhoca-cli[2151] (x2gocontrolsession-pylib) DEBUG: server-side X2Go features are: ['X2GOAGENT_RANDRXINERAMA', 'X2GO_CLIPBOARD_MODES', 'X2GO_FMBINDINGS', 'X2GO_LIST_DESKTOPS', 'X2GO_LIST_SHADOWSESSIONS', 'X2GO_LXDEBINDINGS', 'X2GO_MOUNTDIRS', 'X2GO_MOUNT_UNCPATHS', 'X2GO_PRINTING', 'X2GO_PUBLISHED_APPLICATIONS', 'X2GO_RUN_EXTENSIONS', 'X2GO_SERVERSIDE_DESKTOPCOMMANDS', 'X2GO_SET_KEYBOARD', 'X2GO_UMOUNTSESSION_ALL', 'X2GO_UMOUNTSESSION_ONLYPATH', 'X2GO_XSESSION']
pyhoca-cli[2151] (x2gocontrolsession-pylib) INFO: executing command on X2Go server ,,Pyhoca-Client_Session'': echo X2GODATABEGIN:b72abe02-996b-11ea-9a8e-d543e4783396; PATH=/usr/local/bin:/usr/bin:/bin sh -c "echo $HOME"; echo X2GODATAEND:b72abe02-996b-11ea-9a8e-d543e4783396
pyhoca-cli[2151] (x2gocontrolsession-pylib) DEBUG: remote user' home directory: /home/some_user
pyhoca-cli[2151] (x2gocontrolsession-pylib) DEBUG: executing command on X2Go server ,,Pyhoca-Client_Session'': echo X2GODATABEGIN:b72abe03-996b-11ea-9a8e-d543e4783396; PATH=/usr/local/bin:/usr/bin:/bin sh -c "stat -tL "/home/some_user""; echo X2GODATAEND:b72abe03-996b-11ea-9a8e-d543e4783396
pyhoca-cli[2151] (x2gocontrolsession-pylib) INFO: executing command on X2Go server ,,Pyhoca-Client_Session'': echo X2GODATABEGIN:b72abe04-996b-11ea-9a8e-d543e4783396; PATH=/usr/local/bin:/usr/bin:/bin sh -c "export HOSTNAME && { x2golistsessions; x2golistshadowsessions; }"; echo X2GODATAEND:b72abe04-996b-11ea-9a8e-d543e4783396
pyhoca-cli[2151] (x2gocontrolsession-pylib) INFO: executing command on X2Go server ,,Pyhoca-Client_Session'': echo X2GODATABEGIN:b72abe05-996b-11ea-9a8e-d543e4783396; PATH=/usr/local/bin:/usr/bin:/bin sh -c "which x2goversion >/dev/null && x2goversion"; echo X2GODATAEND:b72abe05-996b-11ea-9a8e-d543e4783396
pyhoca-cli[2151] (x2gocontrolsession-pylib) DEBUG: server-side X2Go components and their versions are: {'': '4.1.0.3'}
pyhoca-cli: error: the remote server does not have the X2Go Server software installed
pyhoca-cli[2151] (x2goguardian-pylib) DEBUG: X2Go session guardian thread waking up after 2 seconds
pyhoca-cli[2151] (x2goguardian-pylib) DEBUG: calling session cleanup on profile Pyhoca-Client_Session for terminal session: 

OS is Ubuntu 16.04.6 LTS.   Client attempting to connect is pyhoca-cli version 
0.6.1.2, running on Ubuntu 20.04 LTS.  x2goserver was obtained from 
http://ppa.launchpad.net/x2go/stable/ubuntu/pool/main/x/x2goserver/x2goserver_4.1.0.3-0~1708~ubuntu16.04.1_amd64.deb
[x2goversion-4.1.0.3.patch (text/x-diff, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Apr 21 20:36:44 2021; 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.