From unknown Tue Apr 21 16:01:56 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#323 closed by Stefan Baur <X2Go-ML-1@baur-itcs.de> (Closing)
Message-ID: <handler.323.q323.170535062730875.notifdone@bugs.x2go.org>
References: <da6ab3bc-37a3-4161-9efb-2b4db2844288@baur-itcs.de>
X-X2go-PR-Keywords: moreinfo
X-X2go-PR-Message: they-closed 323
X-X2go-PR-Package: x2goserver
X-X2go-PR-Source: x2goserver
Date: Mon, 15 Jan 2024 20:35:04 +0000
Content-Type: multipart/mixed; boundary="----------=_1705350904-32115-0"

This is a multi-part message in MIME format...

------------=_1705350904-32115-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the x2goserver package:

#323: x2go server refuses client with 'Error: Wrong version or invalid sess=
ion authentication cookie.'

It has been closed by Stefan Baur <X2Go-ML-1@baur-itcs.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Stefan Baur <X2Go-ML-1=
@baur-itcs.de> by
replying to this email.


--=20
323: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=3D323
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1705350904-32115-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 323-quiet) by bugs.x2go.org; 15 Jan 2024 20:30:27 +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=-1.9 required=3.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham
	autolearn_force=no version=3.4.2
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 168305DAD6
	for <323-quiet@bugs.x2go.org>; Mon, 15 Jan 2024 21:30:23 +0100 (CET)
Received: from [192.168.0.25] ([178.202.75.45]) by mrelayeu.kundenserver.de
 (mreue106 [213.165.67.113]) with ESMTPSA (Nemesis) id
 1M738r-1rVEsz2UNb-008Z2H for <323-quiet@bugs.x2go.org>; Mon, 15 Jan 2024
 21:30:22 +0100
Message-ID: <da6ab3bc-37a3-4161-9efb-2b4db2844288@baur-itcs.de>
Date: Mon, 15 Jan 2024 21:30:21 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Content-Language: en-US
To: 323-quiet@bugs.x2go.org
Subject: Closing
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Provags-ID: V03:K1:BTGJKRIKxrRJEHevf+j1X+o52tTHEgZwu4EfM+Xq8pqUNkD+cLk
 5R80R+6hVikOyRc0t4ku2Qyu/5Ji2hqKaOoqgInx8VevSwPXCOYdA2JZVLDMora5vfhOMAH
 9x4iZ3bCITB05blb8314mez3aR4fVtGtwKhP/y9M2+a08pv/lOLcEURhm0/1n55kXTuU/qr
 /PKTxtsY5qAEfyMxi2rdA==
UI-OutboundReport: notjunk:1;M01:P0:BFXOd+cs6N4=;CksrvrWPRZz5PCHLpCLwDkqgpj2
 zs3pcHWHfy29x7+n5lgjrCTJ6EPAPDvkCAzr3CnusZdTdMd6lk45c/foIpCR5RDmNhKzo5et5
 2BQCpUT/PqL8DDIO/Vj1ukaV0ygneS12Inhy/+ymp9uMz19Ei49UqDdmy7eIXMsceDABh6uKP
 +fL7hCTnojsH85hIwBIMsyxOmmJy+B7flL73HijZF22+57wF2Z8nbRajSFr4IWw3Jl66VRH/k
 ztX+OSGNp6aLGwcscg/wH4RKVYupiSpMwLJR90eD+Tz5zMOyIy7O5q6/2dOVm2+b9LNVz/Gcm
 dFcsMo0VyRuWdBluoR8pYfwcr4mnWwXG0Uhwda83Wz3Jq/G1mVgHSK9QQ09bv7lKiXb4uqqzq
 3do6YcW4aohRBvE8DWyJvEVteKTJT5LL4lHxhc6LfofmI2UwR1d2z3XdneVkXx0Bo0qXYmRU2
 XMKdaq2/Q78eACNL8EfBgvdplyDqd2CNASsnNH2J2yvj1DNRNodkLS4r7sA+ps0baSC5M+x7M
 VhqUg5wB1JsLZcRtrby9Wb9ikJ9/FihP3S1/KjFRkurWWUwdAYuB6H0e5jeqyjt0IIQ9s+0N/
 a45cyK79XGXka3HDNS199lFzIRHmatWHfU6l6/P3XD9t3er0XX8n9NUDjnP7nt0pO+jmnx7mN
 sWDadGDicFluY/DwkhMsa3bMJ/fryI4VLdTyeyGAiyks8WIEu8yJ7HEmlZoDLFQHiRVqIksh3
 0nXZyGMGDHVlJTwacun7hO5XKPB/L129vOubAFI3PXa1zxZxEhOmQURiZbKXhZyu2JFMSQyGN
 X8IpEKSkZNDwgNqE6pZGsYONjyQla04MsLt/1coFn44tq6gkzI8tiOuloPBTdZbG+M2s3u7G2
 W+SxSxY5n7ivMSQ==

Control: close -1
Control: archive -1


-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243


------------=_1705350904-32115-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 14 Oct 2013 04:34:14 +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,HTML_MESSAGE
	autolearn=ham version=3.3.2
Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179])
	by ymir (Postfix) with ESMTPS id 115F55DA7B
	for <submit@bugs.x2go.org>; Mon, 14 Oct 2013 06:34:12 +0200 (CEST)
Received: by mail-pd0-f179.google.com with SMTP id v10so6914764pde.10
        for <submit@bugs.x2go.org>; Sun, 13 Oct 2013 21:34:11 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=from:to:subject:date:message-id:organization:user-agent
         :mime-version:content-type:content-transfer-encoding;
        bh=622jvuwCZ/5JQR/IFa37qqgDIDJwxDgevGPad2mYVpw=;
        b=c9+rmTMsPJ37XwSW0jPOgMugxrrkJCDY2JgAy8h1Ybb569O3yZc6mhvzVCyzqbqAYP
         zk3pKSI5UCQNH8mf1HATB4uKOCnrN0k57bY+748cdAdaxGm5v+60KrwZujoSMk7UuOoI
         3iNvZ77fBBI5O/GaxtchnpGBDGlgANlUMZcsZTdg2ksQ4c6KlzkIshtkTfMjK5j9x6Kj
         UiYmJKZoUJZrrvykVv5u8wBFEeyDEGCHubKUquUhORxtHRDFYjbl+ARXMuZhDMue3ced
         AIZibHUa5HjxH5q0n9smqVl8fKBeXNdpzlhNrN1vFYbKIF2OiEm6srxQ5ubJxGHowIwj
         bBMw==
X-Received: by 10.66.142.132 with SMTP id rw4mr36053676pab.6.1381725251146;
        Sun, 13 Oct 2013 21:34:11 -0700 (PDT)
Received: from stunted.localnet (ip68-109-196-185.oc.oc.cox.net. [68.109.196.185])
        by mx.google.com with ESMTPSA id va8sm75275379pbc.16.1969.12.31.16.00.00
        (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 13 Oct 2013 21:34:10 -0700 (PDT)
From: harry mangalam <harry.mangalam@uci.edu>
To: submit@bugs.x2go.org
Subject: x2go server refuses client with 'Error: Wrong version or invalid session authentication cookie.'
Date: Sun, 13 Oct 2013 21:34:07 -0700
Message-ID: <3112399.Az4Yrmv0PE@stunted>
Organization: UC Irvine
User-Agent: KMail/4.8.5 (Linux/3.2.0-54-generic; KDE/4.8.5; x86_64; ; )
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="nextPart5693511.bkTg2ULVBd"
Content-Transfer-Encoding: 7Bit


--nextPart5693511.bkTg2ULVBd
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

Package: x2goserver
Version: 4.0.1 
x86_64, CentOS 6.4, kernel 2.6.32-358.18.1.el6.centos.plus.x86_64

(also x2go version 4.0.1.6 (self-compiled) on the same platform)

Problem:
After a server OS lockup and reboot, the previously working x2goserver would 
not allow client connections from Mac, Linux, Windows.  After re-installing 
x2gserver (x2goserver-4.0.1.6-1.1.x86_64) and x2goagent 
(x2goagent-3.5.0.20-4.1.x86_64), it refused to connect with the client-side 
message:

===
Session: Starting session at 'Fri Oct 11 18:11:36 2013'.
Info: Connecting to remote host 'localhost:31030'.
Info: Connection to remote proxy 'localhost:31030' established.
Error: The remote NX proxy closed the connection.
Error: Failure negotiating the session in stage '7'.
Error: Wrong version or invalid session authentication cookie.
Session: Terminating session at 'Fri Oct 11 18:11:37 2013'.
Session: Session terminated at 'Fri Oct 11 18:11:37 2013'.
===
(dont know if this is complete since the popup only lasts 2s.)
This error has been cited multiple times in various fora and lists, but no one 
seems to have been able to solve it.  

I can passwordlessly ssh to both servers just fine from other Linux clients. 

If I don't use the ssh keys, I can enter my password and the result is the 
same. 

The server seems to be initializing the session since if I try to log in 
multiple times, there are new sessions listed, but I'm not allowed to connect 
to them. I can only terminate or suspend them.  

Terminating them does appear to work since they are not listed on following 
sessions if I do.  

The problem does seem to be related to authentication or authorization; we use 
ldap-based auth on the server and it's working fine otherwise, except for 
x2go.

Thanks for your work!

harry

---
Harry Mangalam - Research Computing, OIT, Rm 225 MSTB, UC Irvine
[m/c 2225] / 92697 Google Voice Multiplexer: (949) 478-4487
415 South Circle View Dr, Irvine, CA, 92697 [shipping]
MSTB Lat/Long: (33.642025,-117.844414) (paste into Google Maps)
---

--nextPart5693511.bkTg2ULVBd
Content-Transfer-Encoding: 7Bit
Content-Type: text/html; charset="us-ascii"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Liberation Mono'; font-size:12pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Package: x2goserver</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Version: 4.0.1 </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">x86_64, CentOS 6.4, kernel 2.6.32-358.18.1.el6.centos.plus.x86_64</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">(also x2go version 4.0.1.6 (self-compiled) on the same platform)</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Problem:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">After a server OS lockup and reboot, the previously working x2goserver would not allow client connections from Mac, Linux, Windows.  After re-installing x2gserver (x2goserver-4.0.1.6-1.1.x86_64) and x2goagent (x2goagent-3.5.0.20-4.1.x86_64), it refused to connect with the client-side message:</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">===</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Session: Starting session at 'Fri Oct 11 18:11:36 2013'.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Info: Connecting to remote host 'localhost:31030'.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Info: Connection to remote proxy 'localhost:31030' established.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Error: The remote NX proxy closed the connection.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Error: Failure negotiating the session in stage '7'.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Error: Wrong version or invalid session authentication cookie.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Session: Terminating session at 'Fri Oct 11 18:11:37 2013'.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Session: Session terminated at 'Fri Oct 11 18:11:37 2013'.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">===</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">(dont know if this is complete since the popup only lasts 2s.)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">This error has been cited multiple times in various fora and lists, but no one seems to have been able to solve it.  </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I can passwordlessly ssh to both servers just fine from other Linux clients. </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">If I don't use the ssh keys, I can enter my password and the result is the same. </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">The server seems to be initializing the session since if I try to log in multiple times, there are new sessions listed, but I'm not allowed to connect to them. I can only terminate or suspend them.  </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Terminating them does appear to work since they are not listed on following sessions if I do.  </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">The problem does seem to be related to authentication or authorization; we use ldap-based auth on the server and it's working fine otherwise, except for x2go.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Thanks for your work!</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">harry</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">---</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Harry Mangalam - Research Computing, OIT, Rm 225 MSTB, UC Irvine</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">[m/c 2225] / 92697 Google Voice Multiplexer: (949) 478-4487</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">415 South Circle View Dr, Irvine, CA, 92697 [shipping]</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">MSTB Lat/Long: (33.642025,-117.844414) (paste into Google Maps)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">---</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p></body></html>
--nextPart5693511.bkTg2ULVBd--

------------=_1705350904-32115-0--
