Hi Please follow these easy steps if you want to run VNC with Gnome:
Step 1:
Type in your SSH Console: apt-get update
Step 2:
Type in Your SSH Console: sudo apt-get install ubuntu-desktop nano vnc4server
Step 3:
Type in Your SSH Console: vncserver :1 -geometry 1024x768 -depth 16
Step 4:
Type in Your SSH Console: vncserver -kill :1
Step 5:
The configuration is kept in the file /home/userxx/.vnc/xstartup I edited this file so that I can start the server with gnome. My file looks exactly like below.
Quote:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
gnome-session &
[ -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" &
twm &
|
Copy this code into your .vnc/xstartup file to do that do nano /.vnc/xstartup
Now start your VNC Server again via vncserver, after that just login with the password you specified and enjoy the VNC with Gnome