...
Initial workaround is to remove all opened sessions from your local ~/.x2go directory:
Code Block |
---|
rm -f ~/.x2go/S-* |
...
- 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