On Tuesday 07 February 2012 10:52:55 Helmer Teles wrote:

>Hello Oleksandr

 

>I've submited this problem also to xfreerdp ML's, but i've emailed the text >below to the wrong mailing list. I've pasted it here. Sorry for any >inconvenience.

 

 

>[PASTE]

 

> I've trid with x2goserver 3.0.99 / nxagent 3.4 / x2goclient 3.01 /

> squeeze 32bit on XCP/ freerdp 1.0 from git (FreeRDP-FreeRDP-b6ec892),

> and it was ok for a connexion to a winxp sp3 32 bit. So it looks like

> the issue seems to be more related to the x2goagent 3.5 like you pointed

> out. I haven't upgraded that one yet.

>

> Cheers,

>

> Denis

>

> > --

> >

>Hi Denis,

>I've installed a new sqeeze vm running on quem/kvm, and i'm still facing the >same problem. Does anyone knows where i can download nxagent 3.4? it will >help to debug the cause of the problem. Still can run a simple script with >xfreerdp like xfreerdp -u "" -d pikets 192.168.122.114:3389 with ssh -X >hteles@mysqueeze_machine. It fails completely with x2goagent.

>This is my package enviroment info.

>dpkg -l |grep -i ii |grep -i 'nx\|x2go\|freerdp' |awk '{print $1 " " $2 $3}'; >lsb_release -a; uname -a

...

>Cheers,

>Helmer Teles

 

 

>[/PASTE]

 

 

Hello list.

 

Looking at the code ( i'm not a C dev ) i think that something is missing in x2goagent, that is been called at the following piece of code @ src/FreeRDP/client/X11/xfwindow.c

 

This is the function, line :

 

 

 

boolean xf_GetWindowProperty(xfInfo* xfi, Window window, Atom property, int length, unsigned long* nitems, unsigned long* bytes, uint8** prop)

{

int status;

Atom actual_type;

int actual_format;

 

if (property == None)

return False;

 

status = XGetWindowProperty(xfi->display, window,

property, 0, length, False, AnyPropertyType,

&actual_type, &actual_format, nitems, bytes, prop);

 

if (status != Success)

return False;

 

if (actual_type == None)

{

DEBUG_WARN("Property %lu does not exist", property);

return False;

}

 

return True;

}

 

 

xf_GetWindowProperty SPEC -> http://tronche.com/gui/x/xlib/window-information/XGetWindowProperty.html

 

 

Does this help anyone to debug the problem? it seems to me that some info is missing about the display or the root window.

 

 

eM@il : helmer[dot]teles[at]google mail.

Web Page: http://hteles.wordpress.com