[X2Go-Dev] Bug#323: Bug#323: x2go server refuses client with 'Error: Wrong version or invalid session authentication cookie.'

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Tue Oct 29 09:42:50 CET 2013


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 at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 7251 bytes
Desc: ?ffentlicher PGP-Schl?ssel
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20131029/cfe8b2e7/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20131029/cfe8b2e7/attachment.pgp>


More information about the x2go-dev mailing list