Am Freitag, 15. Juli 2011 schrieb Stefan:
Hi all,
I've the following setup:
- a remote Xserver-session on a client via xdmcp and gdm3.
- In this session I want to use x2goclient to access a remote server
Starting a X2go-session with x2goclient I get the following error:
.... .... Info: No suitable cache file found. Info: Forwarding X11 connections to display '192.168.0.50:0.0'. Session: Session started at 'Thu Jul 14 12:12:50 2011'. Warning: X connection failed with error 'Invalid MIT-MAGIC-COOKIE-1 key'. Session: Session started at 'Thu Jul 14 12:12:16 2011'. Warning: X connection failed with error 'Invalid MIT-MAGIC-COOKIE-1 key'.
Obviously there is a problem with the access to the xserver. Using kdm (kde4) instead of gdm3 it works (partly). Maybe the difference is, that gdm3 doesn't use ~/.Xauthority any more. See here: http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=586685 Maybe the proposed workaround helps here. I'll try.
As in the bugreport proposed I wrote
if [[ $XAUTHORITY != ~/.Xauthority ]]; then XAUTHORITY=~/.Xauthority xauth merge $XAUTHORITY export XAUTHORITY=~/.Xauthority fi
in my ~/.xsession file but no success.
But there is another (maybe bigger) problem:
giving access to the xserver using xhost +XCLIENT-SERVER # in my case 192.168.0.51
the x2gosession starts - but ends up in several nameless windows with no content. This doesn't happen if I open the x2goclient directly in a xserver- session (without window-manager). Than all works fine.
What does this mean??
cheers stefan