Quick tip :
To have a VNC server automatically start when your Raspberry Pi boots up follow these steps.
First off make sure you have a vnc server installed. I used tightvnc because it hasent let me down yet.
$ sudo apt-get install tightvncserver
Now start the VNC server process with :
ou can start now start a session with
$ vncserver :1 -geometry 1024x728 -depth 24
Configure Auto Start
Go to your “/home/pi/.config” directory.
Create a directory called “autostart”
Inside that directory create a file called “tightvnc.desktop”
$ vi tightvnc.desktop
Then paste the following and after a reboot you should be good to go.
[Desktop Entry] Type=Application Name=TightVNC Exec=vncserver :1 StartupNotify=false
Lastly if you plan on doing any work with the GPIO pins be sure you have the latest package!
$ sudo apt-get install python-RPi.GPIO