For your xstartup file in ~/.vnc (the ".vnc" folder in
your home directory), you need the following:
-----------------------------
#!/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 &
# twm &
------------------------
instead of uncommenting the lines as teh script suggests, you change the window manager to gnome-session
make sure restart vnc4server
Warning: include(../../../google.php): Failed to open stream: No such file or directory in /web/westerfunk/archives/technology/VNC4 Server/index.php on line 23
Warning: include(): Failed opening '../../../google.php' for inclusion (include_path='.:/usr/share/php') in /web/westerfunk/archives/technology/VNC4 Server/index.php on line 23