Hi,

I was hoping to use Xvnc as a server to host some GTK+ apps, but GTK
apps running on the server error out with the following:

 gtk-demo --sync
The program 'gtk-demo' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 85 error_code 1 request_code 146 minor_code 2)
...

Having dug into this some more, in gdb with a breakpoint on _XError:

#0  _XError (dpy=0x807b780, rep=0xbf86ed50) at ../../src/XlibInt.c:2874
#1  0xb7790714 in _XReply (dpy=0x807b780, rep=0xbf86ed50, extra=0, discard=1) 
at ../../src/XlibInt.c:1833
#2  0xb778a5ca in XSync (dpy=0x807b780, discard=0) at ../../src/Sync.c:48
#3  0xb778a745 in _XSyncFunction (dpy=0x807b780) at ../../src/Synchro.c:37
#4  0xb7a7dc3d in XFixesSelectSelectionInput () from /usr/lib/libXfixes.so.3
#5  0xb7e80556 in IA__gdk_display_request_selection_notification 
(display=0x807b780, selection=0x47)
    at gdkdisplay-x11.c:1142
#6  0xb7e8163e in IA__gdk_display_open (display_name=0x0) at 
gdkdisplay-x11.c:335
#7  0xb7e5ecff in IA__gdk_display_open_default_libgtk_only () at gdk.c:278
#8  0xb7c2e60f in IA__gtk_init_check (argc=0xbf86efa0, argv=0xbf86efa4) at 
gtkmain.c:918
#9  0xb7c2e644 in IA__gtk_init (argc=0xbf86efa0, argv=0xbf86efa4) at 
gtkmain.c:953
...

Versions installed (From Ubuntu Fiesty):

vnc4server    4.1.1+xorg1.0.2-0ubuntu4
libgtk2.0-0   2.10.11-0ubuntu3
libxfixes3    1:4.0.3-1

I invoked vnc4server with:

vnc4server :1 -nohttpd -name foobar -depth 24 -geometry 1024x768


Is this a GTK+ bug, a bug in the VNC server, or something I must
workaround?

Regards,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to