X2Go Bug report logs - #1544
x2goclient not connecting [with a provisional fix]

version graph

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

Reported by: Andrey Malyshev <andrey.v.malyshev@gmail.com>

Date: Fri, 7 May 2021 10:55:01 UTC

Severity: normal

Found in version

Full log

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

Received: (at submit) by bugs.x2go.org; 7 May 2021 10:53:55 +0000
From andrey.v.malyshev@gmail.com  Fri May  7 12:53:52 2021
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	autolearn_force=no version=3.4.2
Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id D69885DAFA
	for <submit@bugs.x2go.org>; Fri,  7 May 2021 12:53:51 +0200 (CEST)
Received: by mail-wm1-x32a.google.com with SMTP id 82-20020a1c01550000b0290142562ff7c9so4625098wmb.3
        for <submit@bugs.x2go.org>; Fri, 07 May 2021 03:53:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
X-Gm-Message-State: AOAM530gqGiCAcRkINPcNX0xfgM3+pT4Jj/FmTF3utnTPE+Y86aSclXQ
X-Google-Smtp-Source: ABdhPJzfGGNL2ah+fZzxOzPlDF1erVPYpeS3/qSpQWDEwjaKInXly6KCQXT3im8h5MgOYiOeVDD/QQ==
X-Received: by 2002:a1c:f212:: with SMTP id s18mr2552814wmc.172.1620384831152;
        Fri, 07 May 2021 03:53:51 -0700 (PDT)
Received: from ucm.es (orient.fis.ucm.es. [])
        by smtp.gmail.com with ESMTPSA id n2sm7926511wmb.32.2021.
        for <submit@bugs.x2go.org>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Fri, 07 May 2021 03:53:50 -0700 (PDT)
Date: Fri, 7 May 2021 12:53:48 +0200
From: Andrey Malyshev <andrey.v.malyshev@gmail.com>
To: submit@bugs.x2go.org
Subject: x2goclient not connecting [with a provisional fix]
Message-ID: <20210507105348.GA629432@ucm.es>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Package: x2goclient

x2goclient stoppped connecting to a working x2go server after some update of
the client on both Linux and Mac boxes.  Provisional fix - The offending
line is "Port 22" in the localhost section of the ~/.ssh/config file on the
client side.  Commenting out the line solves the problem on both Linux and
Mac boxes.  It seems that some parser (no idea if it is the x2goclient's or
the nxproxy's one) is doing some strange thing and gets confused, as the
error message has nothing to do to the port line.  A permanent fix would be

Below are the relevant part of the output from x2goclient --debug and the
content of the ~/.ssh/config file with an offending Port line in the
localhost section:

x2goclient --debug:

x2go-INFO-1> "Starting X2Go Client"
x2go-DEBUG-../src/onmainwindow.cpp:6142> "Starting NX proxy, command: nxproxy -S nx/nx,options=/home/andrei/.x2go/S-andrei-50-1620380095_stRTERMINAL_dp24/options:50"
x2go-DEBUG-../src/onmainwindow.cpp:6618> Proxy wrote on stderr: "\nNXPROXY - Version\n\n...."
x2go-DEBUG-../src/sshmasterconnection.cpp:1994> Forwarding parameters: from remote ("localhost":33106) to local ("localhost":60552)
x2go-DEBUG-../src/sshmasterconnection.cpp:2028> Temporary session port after config file parse: 22
x2go-DEBUG-../src/sshmasterconnection.cpp:2032> Temporary session host after config file parse:
x2go-DEBUG-../src/sshmasterconnection.cpp:2059> New channel forwarded.
x2go-DEBUG-../src/onmainwindow.cpp:6618> Proxy wrote on stderr: "Loop: PANIC! Wrong version or invalid session authentication cookie.\nError: Wrong version or invalid session authentication cookie.\nSession: Terminating session at 'Fri May  7 11:34:57 2021'.\nSession: Session terminated at 'Fri May  7 11:34:57 2021'.\n"
x2go-DEBUG-../src/onmainwindow.cpp:6475> Deleting Proxy.



Host localhost
User *****
Port 22
Compression no
ForwardX11 yes


Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Oct 24 09:26:18 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.