Roland Giesler | 28 Jul 02:55 2013
Picon

Re: Failure negotiating the session in stage '7'. Wrong version or invalid session authentication cookie.

On 17/07/2013 11:18, Kjell Otto wrote:
> Hey Roland,
>
> I'm sorry but I'm quite busy right now. 
> Following things to try:
>
> Kill all sessions on your server.
> Use the root command to list all users sessions with:
> sudo x2golistsessions_root
> Delete all involved users .Xauthority files.
> If you've got hanging sessions left, manually execute
> x2goterminatesessions with the ID.
> Make the x2goserver logging level to debug in /etc/x2go/x2xgoserver.conf
> Reboot the machine.

I finally got around to trying this out tonight.  There are no sessions
running and I deleted all the .Xauthority file from the users' home
directories.
Then I rebooted.

>
> Then open a new Master Session -> KDE or xterm, whatever..

I've have searched high and low.  What is a new Master Session?  I
cannot find anything about it.  I have logged in on the server console,
but it makes not difference?

> Use the root command again to make sure it's known by the x2goserver.
> Then start the Shadow Session to the Master Session.
And of course, what is a Shadow Session? 

I'm not trying to connect to a logged-in user at this stage, I just want
to start a new X-session when I connect with x2goclient.

thanks again

Roland

On 17/07/2013 11:18, Kjell Otto wrote:
> Hey Roland,
>
> I'm sorry but I'm quite busy right now. 
> Following things to try:
>
> Kill all sessions on your server.
> Use the root command to list all users sessions with:
> sudo x2golistsessions_root
> Delete all involved users .Xauthority files.
> If you've got hanging sessions left, manually execute
> x2goterminatesessions with the ID.
> Make the x2goserver logging level to debug in /etc/x2go/x2xgoserver.conf
> Reboot the machine.

I finally got around to trying this out tonight.  There are no sessions
running and I deleted all the .Xauthority file from the users' home
directories.
Then I rebooted.

>
> Then open a new Master Session -> KDE or xterm, whatever..

I've have searched high and low.  What is a new Master Session?  I
cannot find anything about it.  I have logged in on the server console,
but it makes not difference?

> Use the root command again to make sure it's known by the x2goserver.
> Then start the Shadow Session to the Master Session.
And of course, what is a Shadow Session? 

I'm not trying to connect to a logged-in user at this stage, I just want
to start a new X-session when I connect with x2goclient.

thanks again

Roland


Gmane