Public bug reported: This used to work under edgy. I believe it stopped working when I upgraded xserver-xorg-core. My ~/.vnc/xstartup contains just:
/usr/bin/startxfce4 & I start vnc with: vnc4server -fp /usr/share/fonts/X11/misc/ -depth 24 -geometry 1280x1024 (the -fp line is because of the bug reported in bugs 3593, 75451, and 71598). The following is logged to the logfile: The program 'xfce4-session' 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 74 error_code 1 request_code 146 minor_code 2) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Agent pid 16789 killed Xfce doesn't start, and you just get the nice grey background. ** Affects: Ubuntu Importance: Undecided Status: Unconfirmed -- xfce4-session doesn't work under vnc https://launchpad.net/bugs/78887 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs