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 4.1.2.2

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1544: x2goclient not connecting [with a provisional fix]
Reply-To: Andrey Malyshev <andrey.v.malyshev@gmail.com>, 1544@bugs.x2go.org
Resent-From: Andrey Malyshev <andrey.v.malyshev@gmail.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 07 May 2021 10:55:01 +0000
Resent-Message-ID: <handler.1544.B.162038483525913@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1544
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.162038483525913
          (code B); Fri, 07 May 2021 10:55:01 +0000
Received: (at submit) by bugs.x2go.org; 7 May 2021 10:53:55 +0000
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 autolearn=ham
	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;
        h=date:from:to:subject:message-id:mime-version:content-disposition;
        bh=eX9wwgo+6i2lRTpVpaUQbLqD26mbt8MotDaLTRXRx0Y=;
        b=Ugw4mN2r3tV6R47N3RpM4KUexYf8u2yYfwR7gBiEHpJfnTE8mGY/uAAsuJQ6dDL5FN
         R0zq/5EmmYcvrY8dwSbZ6vsEBmXpFXo777+g+ueb31Cd3y87XYk2bnZb6C9Cagtzd8/Z
         /NqFZ5SW8CsqGY8ffmt2CENLwW59QwBprs+7DCBhWwW17Q0StXoUYZZCOu9PyRCgP85u
         +g+hPG8w33T/cjENVaImuBGJoBwSsGBK4ZL/T0rL3/aoofhfXDTdz54TNY1ZObgZXXQC
         6ee1n92oXwtdPCaMJnCIX/Es5A138dvYsw9TmfrDlfBpFxsGsz5JkADI/BFE6UFHhPa+
         vj4Q==
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;
        bh=eX9wwgo+6i2lRTpVpaUQbLqD26mbt8MotDaLTRXRx0Y=;
        b=X9kn/xeT/r5dm3exAK+76vEEnCWhB7KNkTKopj5jDEwUUb+Es+bTl5ZMiXyYkbQ8TE
         DyjhoXB/4mT1CPLyqyQGPe0ZHU1brA/Cq1C5g2vdKxnsLO7ou1Og4J7PDePEMSV//+67
         D4BaglfSMJfOhv7tAtVAFXnkwFF5tsavuIvuylB6EzPnei+r3hvzEZmX8dRGlmEtjK/4
         igZ2BWVVhcba4gDkHfQEkauEYBOXgDF3T0Bb6fj+KalSkt+56lnxIOsdAuMyHFCLHAA1
         spqz18SMeYnSJEiRcDgjDr+Egv6T6/cwnNb7aZzUlvxBCgaGUyOKo1bFa7gkeORuhKmn
         M9SA==
X-Gm-Message-State: AOAM530gqGiCAcRkINPcNX0xfgM3+pT4Jj/FmTF3utnTPE+Y86aSclXQ
	r7395oRLyxiLvZoBfTntmhyQ+rutigk=
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. [147.96.27.202])
        by smtp.gmail.com with ESMTPSA id n2sm7926511wmb.32.2021.05.07.03.53.50
        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
Message-ID: <20210507105348.GA629432@ucm.es>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Package: x2goclient
Version: 4.1.2.2

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
appreciated.

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 4.1.2.2..."
...
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 3.5.99.26\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: 127.0.0.1
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.
...

=====

~/.ssh/config

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

=====

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat May 11 19:22:57 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.