Hello !

When xrdp  uses tightvncserver, a  program using XStoreBuffer  cause the
session  to  terminate.  This  does  not happend  with  vnc4server.  The
complete bug report is available here:
 http://bugs.debian.org/600543

The bug report includes a simple program to reproduce the problem:

8<----------------------------------------------
#include <X11/Xlib.h>
#include <X11/Shell.h>
#include <X11/Xaw/Box.h>
#include <stdlib.h>

void timeout(XtPointer p, XtIntervalId* i)
{
    exit(0);
}

int main(int argc, char* argv[])
{
    XtAppContext context;
    Widget top;
    Widget box;
    Display* dpy;
    top = XtVaAppInitialize(&context, "ClearCutBuffers",
                            0, 0, &argc, argv, NULL,
                            XtNoverrideRedirect, True,
                            XtNgeometry, "-10-10",
                            NULL);
    box = XtCreateManagedWidget("box", boxWidgetClass, top, NULL, 0);
    dpy = XtDisplay(top);
    XStoreBuffer(dpy, "", 0, 0);
    XtAppAddTimeOut(context, 1, timeout, 0);
    XtRealizeWidget(top);
    XtAppMainLoop(context);
    return 0;
}
8<----------------------------------------------

The client receives a  MCS_DPUM (i.e disconnect provider ultimatum) when
this program is run.

Any idea?
-- 
I WILL NOT XEROX MY BUTT
I WILL NOT XEROX MY BUTT
I WILL NOT XEROX MY BUTT
-+- Bart Simpson on chalkboard in episode 7F01

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to