I followed the instructions in the Adafruit tutorial for setting up vnc for my RPi (http://learn.adafruit.com/adafruit-raspberry-pi-lesson-7-remote-control-with-vnc). VNC works great when launching vnc directly from the terminal (using vncserver :1). When I launch vncserver on boot (following the tutorial instructions):
[Desktop Entry]
Type=Application
Name=TightVNC
Exec=vncserver :1
StartupNotify=false
,I get only a black screen with an X cursor in my vncviewer. I've tried RealVNC on both Windows and Mac, and TightVNC on Windows. I'm using Raspbian on my RPi.
How do I fix the black screen when running vncserver on startup?