Comment 3 for bug 257724

Revision history for this message
hamish (hamish-b) wrote :

Still present in Lucid.

here's a post-install patch which fixes it for all users:

--- /usr/bin/vnc4server.ORIG 2011-05-07 21:16:26.546670598 +1200
+++ /usr/bin/vnc4server 2011-05-07 21:31:46.036742257 +1200
@@ -54,7 +54,7 @@
     = ("#!/bin/sh\n\n".
        "# Uncomment the following two lines for normal desktop:\n".
        "# unset SESSION_MANAGER\n".
- "# exec /etc/X11/xinit/xinitrc\n\n".
+ "# exec sh /etc/X11/xinit/xinitrc\n\n".
        "[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup\n".
        "[ -r \$HOME/.Xresources ] && xrdb \$HOME/.Xresources\n".
        "xsetroot -solid grey\n".

thanks,
Hamish