[X2Go-Dev] new version 4.1.1.0 from Mac still crashes to Fedora 26

Mihai Moldovan ionic at ionic.de
Wed Nov 1 06:20:06 CET 2017


On 10/30/2017 02:28 PM, Robert Kudyba wrote:
> Yes there was probably an old/stale session in there. Here are some “cleaner”
> server logs:
> [...]

Another thing I forgot to mention is that it's not normal to have that many
running DISPLAY values. I'd guess these are stale sockets lying around, which
suggests that nxagent died before it was even able to delete its socket (though
in that case, x2gocleansessions should kick in at some point and delete them, if
the session was marked as "fail") or that the processes are actually still running.

ls -a /tmp/.X11-unix
ps axu | grep -iE '(nx|x2goagent)'

Naturally on the server side.


> [...]
> x2go-DEBUG-../src/onmainwindow.cpp:6372> Proxy wrote on stderr: "Warning: Failed
> to read data from the X auth command.
> Warning: Generated a fake cookie for X authentication.

I don't like this part. We generally create an X auth cookie and add it to the X
authorization list when spawning nxagent. This cookie value is then transferred
to the client (or at least should be getting transferred.)


> Info: Using ADSL link parameters 512/24/1/0.
> Info: Using cache parameters 4/4096KB/8192KB/8192KB.
> Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_32'.
> Info: Using ZLIB data compression 1/1/32.
> Info: Using ZLIB stream compression "
> x2go-DEBUG-../src/onmainwindow.cpp:6372> Proxy wrote on stderr: "4/4.
> Info: No suitable cache file found.
> Info: Forwarding X11 connections to display
> '/private/tmp/com.apple.launchd.UQytuZiERB/org.macosforge.xquartz:0'.
> Session: Session started at 'Mon Oct 30 09:23:10 2017'.
> Warning: Protocol mismatch or no X authentication data.

Weird, despite using a fake cookie the data seems to be invalid.


> x2go-DEBUG-../src/onmainwindow.cpp:6372> Proxy wrote on stderr: "Session:
> Terminating session at 'Mon Oct 30 09:23:12 2017'.
> Info: Your session was closed before reaching a usable state.
> Info: This can be due to the local X server refusing access to the client.
> Info: Please check authorization provided by the remote X application.
> Session: Session terminated at 'Mon Oct 30 09:23:12 2017'.

And then everything falls apart.


Let's try something more low-level. Connect to the machine via ssh -X.

nxagent :23 & [you should see an empty/black nxagent window after issuing this
command]

xauth list
xauth add :23 . "$(mcookie)"
xauth list
xauth remove :23

kill $!



Mihai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20171101/3cff6973/attachment.sig>


More information about the x2go-dev mailing list