Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
The remote proxy closed the connection while negotiating
the session. This may be due to the wrong authentication
credentials passed to the server.

...

Workaround 1

This Initial workaround is due to too many X2Go sessions opened. 

...

to remove all opened sessions from your

...

local ~/.x2go

...

directory:

Code Block
rm -f ~/.x2go/S-*

When connecting to server remember to

...

terminate old session(s) and start a new session.

...

Workaround 2

If workaround 1 did not help:

  • repeat workaround 1 to avoid sessions mess
  • login to your x2go remote server and remove .Xauthority file in your home directory on

...

  • the remote server:

    Code Block
    rm -f ~/.Xauthority


  • try X2go again

Workaround 3

If workaround 1+2 did not help:

  • repeat workaround 1+2 to avoid sessions mess
  • login to your x2go remote server and remove .ICEauthority file in your home directory on the remote server:

    Code Block
    rm -f ~/.ICEauthority


  • try X2go again

Wrong version or invalid session authentication cookie

Symptoms

Message in x2go log while connecting to server:

Code Block
Loop: PANIC! The remote NX proxy closed the connection.
Error: The remote NX proxy closed the connection.
Loop: PANIC! Failure negotiating the session in stage '7'.
Error: Failure negotiating the session in stage '7'.
Loop: PANIC! Wrong version or invalid session authentication cookie.
Error: Wrong version or invalid session authentication cookie.

This seems to occur sometimes after reboot of server while some users were still connected.

Workaround

  • login to your x2go remote server via ssh and remove +re-create x2go sessions database file in your home directory on the remote server:

    Code Block
    rm -f /var/lib/x2go/x2go_sessions
    x2godbadmin --createdb


  • try X2go again

Inspired by https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=323