First you must install XWindows environment boot in text mode.(time approx. 1 minute)
Then you need to install these packages:
apt-get install tightvncserver xtightvncviewer
after issue this command:
vncserver :1 -geometry 1024×768 -depth 16 -pixelformat rgb565
to kill a VNC session:
vncserver -kill :1
To decide on which desktop environment to use, edit the following file:
$HOME/.vnc/xstartup
and replace:
Minimal XWindos desktop
twm &
To use KDE:
startkde &
To use GNOME:
gnome-session &
before launching the vncserver