Hi this is an old thread, but for the sake of completing it, you can find the answers about how to get beyond the "gray vnc screen" here (ok the forum won't let me post a URL for security reasons, so go to the "virtuatopia" website and search for "Running and Connecting to VNC Servers on a Xen Guest (domainU) System" and there you will find a possible fix to get past grey screen.
What it says there is that you have to edit the /home/username/.vnc/xstartup file as follows: uncomment these two lines:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
and add at the end of the file the line (for a gnome desktop on vnc):
gnome-session &
-----
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &
------
then of course restart vnc on the server and reconnect from fresh session on the client. By the way, the "vncviewer" from the command line can be buggy. There are many free 3rd party vnc viewer type tools which work better/look better.
Last edited by streetbiker; 05-30-2009 at 04:57 PM.
|