How to install VNC server on Raspberry PI

This is a short note on how to install VNC server on Raspberry PI.

Raspberry PI B+
Raspberry PI B+

Step 1

The VNC server is not installed by default in Raspbian, so first install using apt-get:

Step 2

Make a script file to start the VNC server:

Enter the following:

Save the file; Ctrl+o , Enter and the Ctrl+x.

Step 3

Make the file executable:

How to start the SSH service on Raspberry PI

Raspberry PI B+
Raspberry PI B+

The SSH service is not started by default, so you need to start it:

Select Advanced, navigate to SSH and select Enable SSH.