X2Go Bug report logs -
#323
x2go server refuses client with 'Error: Wrong version or invalid session authentication cookie.'
Reported by: harry mangalam <harry.mangalam@uci.edu>
Date: Mon, 14 Oct 2013 04:48:01 UTC
Severity: normal
Tags: moreinfo
Found in version 4.0.1
Done: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>
:
Bug#323
; Package x2goserver
.
(Mon, 14 Oct 2013 04:48:01 GMT) (full text, mbox, link).
Acknowledgement sent
to harry mangalam <harry.mangalam@uci.edu>
:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>
.
(Mon, 14 Oct 2013 04:48:02 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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)
---
[Message part 2 (text/html, inline)]
Information forwarded
to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>
:
Bug#323
; Package x2goserver
.
(Mon, 14 Oct 2013 17:03:01 GMT) (full text, mbox, link).
Acknowledgement sent
to harry mangalam <harry.mangalam@uci.edu>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>
.
(Mon, 14 Oct 2013 17:03:02 GMT) (full text, mbox, link).
Message #10 received at 323@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
In further grepping, I discovered that the errors I mentioned:
===
Error: Failure negotiating the session in stage '7'.
Error: Wrong version or invalid session authentication cookie.
===
are listed in the /client-side/ session logs:
===
$ cat ~/.x2go/S-hmangala-55-1381535091_stRgnome-terminal_dp24/sessions
Loop: PANIC! The remote NX proxy closed the connection.
Loop: PANIC! Failure negotiating the session in stage '7'.
Loop: PANIC! Wrong version or invalid session authentication cookie.
===
but those strings are not found in the client, nor in the server-side nxagent
shell script so .. where are they coming from..?
This has been noted in other list postings:
<https://bbs.archlinux.org/viewtopic.php?id=144821>
---
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)
---
[Message part 2 (text/html, inline)]
Information forwarded
to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>
:
Bug#323
; Package x2goserver
.
(Tue, 29 Oct 2013 08:48:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>
.
(Tue, 29 Oct 2013 08:48:02 GMT) (full text, mbox, link).
Message #15 received at 323@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tag 323 moreinfo
thanks
Hi Harry,
On Mo 14 Okt 2013 06:34:07 CEST, harry mangalam wrote:
> 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
ok... so there was a server crash. Of course, X2Go Server should
handle crashes in most occasions, but sometimes the X2Go session DB
indeed can become corrupt.
Please try
$ sudo rm -f /var/lib/x2go/x2go_sessions
$ sudo x2godbadmin --createdb
Does that solve your problems?
> 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.
Is every user affected??? Can you test with a fresh user account on
the server??? We need to pin down, whether something on the server is
broken system wide or if the issue is a user profile problem.
> Thanks for your work!
Welcome :-)
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-keys, inline)]
[Message part 3 (application/pgp-signature, inline)]
Added tag(s) moreinfo.
Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
to control@bugs.x2go.org
.
(Tue, 29 Oct 2013 08:48:03 GMT) (full text, mbox, link).
Information forwarded
to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>
:
Bug#323
; Package x2goserver
.
(Fri, 01 Nov 2013 12:48:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Eric Forgeot <eforgeot@gmail.com>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>
.
(Fri, 01 Nov 2013 12:48:02 GMT) (full text, mbox, link).
Message #22 received at 323@bugs.x2go.org (full text, mbox, reply):
Hello,
I have this problem as well.
version 4.0.1.1 for the client
version 4.0.1.6 for the server
on linuxmint 15. All packages coming from the ppa:x2go/stable
I tried this:
1/
sudo rm -f /var/lib/x2go/x2go_sessions
sudo x2godbadmin --createdb
2/
creating a new ssh user on the server, and trying to connect with this new one. x2go detected the /home/my_new_user folder was missing,
and when I created it, x2go refused to connect any longer.
3/
editing / renaming ~/.ssh/known_hosts from the client side
(according to http://john.wesorick.com/2011/11/issues-installing-x2go.html I also commented the "HostKey /etc/ssh/ssh_host_ecdsa_key" in my sshd_config on the server)
none of them worked.
I also renamed the ~/.x2go/ ~/.x2goclient/ folders in my home
I can barely copy the output from the error window ( it hides itself too quickly and can't find a way to get it from elsewhere) :
Starting session at 'Fri Nov 1 13:28:55 2013'.
Info: Connecting to remote host 'localhost:31004'.
Info: Connection to remote proxy 'localhost:31004' 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 Nov 1 13:28:56 2013'.
Session: Session terminated at 'Fri Nov 1 13:28:56 2013'.
(I don't understand why it tries to connect to localhost)
My log in ~/.x2go/S-mylogin-50-1383308923_stDLXDE_dp24/sessions says:
Loop: PANIC! The remote NX proxy closed the connection.
Loop: PANIC! Failure negotiating the session in stage '7'.
Loop: PANIC! Wrong version or invalid session authentication cookie.
x2go worked perfectly before, I can't trace when it stopped working but it's probably after some package updates.
Information forwarded
to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>
:
Bug#323
; Package x2goserver
.
(Mon, 25 Nov 2013 21:33:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Horst Stanitzok <stanitzoks@gmx.de>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>
.
(Mon, 25 Nov 2013 21:33:01 GMT) (full text, mbox, link).
Message #27 received at 323@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
My error was the same:
Error: The remote NX proxy closed the connection.
Error: Failure negotiating the session in stage '7'.
Error: Wrong version or invalid session authentication cookie.
I solved it in my case.
The reason was a wrong writing permission in the appropriate
directory where the client logged in. This is certainly not a bug but a
mistake, - and a trace to look at for the the one or other case with
this error.
Regards,
horst
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>
:
Bug#323
; Package x2goserver
.
(Thu, 03 Apr 2014 22:15:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas William <thomas.william@zih.tu-dresden.de>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>
.
(Thu, 03 Apr 2014 22:15:01 GMT) (full text, mbox, link).
Message #32 received at 323@bugs.x2go.org (full text, mbox, reply):
In my case, switching off the home folder encryption solved the issue. On the ubuntu 12.04, this is what I did:
rm -rf /home/USER
apt-get remove ecryptfs-utils libecryptfs0
mkdir /home/USER
chown -R USER: USER /home/USER
service x2goserver restart
Be sure to save all data from that /home/USER folder that you still need before doing the almighty "rm -rf”
Cheers,
Thomas
Information forwarded
to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>
:
Bug#323
; Package x2goserver
.
(Wed, 23 Apr 2014 10:45:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Eric Forgeot <eforgeot@gmail.com>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>
.
(Wed, 23 Apr 2014 10:45:02 GMT) (full text, mbox, link).
Message #37 received at 323@bugs.x2go.org (full text, mbox, reply):
it seems for me the problem was not from my home folder, but from the
/tmp folder, when trying to create the sessions. The /tmp folder was
in read write access for everyone but it complained it was needed to
set the /tmp/.X11-unix/ folder to 1777, which I did, and now it's
working again.
The error message from the client was not really helpfull. I noticed
the problem when trying to start x2goagent from the commandline on the
server:
_XSERVTransmkdir: ERROR: Mode of /tmp/.X11-unix must be set to 1777
_XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed,
errno = 9 _XSERVTransMakeAllCOTSServerListeners: failed to create
listener for local
So there is a process on my computer which is changing the rights on
my /tmp folder but I don't know which one at the moment...
Information forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#323
; Package x2goserver
.
(Fri, 06 Jan 2023 08:05:01 GMT) (full text, mbox, link).
đź”—
View this message in rfc822 format
Thank you for the additional information you have supplied regarding
this Bug report.
This is an automatically generated reply to let you know your message
has been received.
Your message has not been forwarded to the package maintainers or
other interested parties; you should ensure that the developers are
aware of the problem you have entered into the system - preferably
quoting the Bug reference number, #323.
If you wish to submit further information on this problem, please
send it to 323-quiet@bugs.x2go.org.
Please do not send mail to owner@bugs.x2go.org unless you wish
to report a problem with the Bug-tracking system.
--
323: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=323
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems
Message #41 received at 323-quiet@bugs.x2go.org (full text, mbox, reply):
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
Marked Bug as done
Request was from Stefan Baur <X2Go-ML-1@baur-itcs.de>
to 323-quiet@bugs.x2go.org
.
(Mon, 15 Jan 2024 20:35:04 GMT) (full text, mbox, link).
Notification sent
to harry mangalam <harry.mangalam@uci.edu>
:
Bug acknowledged by developer.
(Mon, 15 Jan 2024 20:35:04 GMT) (full text, mbox, link).
Bug archived.
Request was from Stefan Baur <X2Go-ML-1@baur-itcs.de>
to 323-quiet@bugs.x2go.org
.
(Mon, 15 Jan 2024 20:35:04 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
X2Go Developers <owner@bugs.x2go.org>.
Last modified:
Wed Oct 30 12:56:24 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.