You have your Raspberry Pi and you have all of the basics configured so now what? Maybe you have been thinking how cool it would be to be able to remotely access the desktop of you Pi right? I mean SSH is awesome and all but sometimes a GUI just can’t be beat…actually I greatly prefer the cli however, there are times when direct access to the remote desktop comes in really handy. For these situations I depend on VNC, and in this specific case I am going to walk you through adding TightVNC to your Raspberry Pi for remote desktop purposes. Read on past the break for the details.
For this particular project I am going to assume that your Pi is fully functional including access to the web and that you have run updates. If you have not gotten that far yet please see my post on basic configuration with NOOB, network connectivity, system issues and updating your Pi.
Ok let’s jump right in.
From your terminal window issue the following command to install VNC to your Pi
sudo apt-get update
sudo apt-get install tightvncserver
During the installation you may have to confirm with a “Y” to complete your installation.
Ok. That was easy! Now that you have the TightVNCServer installed on your Pi you will need to start it up. If it is not started you will definitely not be able to connect to your Raspberry Pi remotely.
In the same terminal window on your system issue the following command:
During this part of the configuration you will be prompted for a password to use during connection. Choose something you will remember, and keep in mind the limit of 8 characters when choosing your password. You will be typing this password to connect from your remote system to the Pi in a few minutes.
Choose No when asked if you want to create a Read Only password.
Connecting to your Raspberry Pi Remotely
Before you can move on to the moment of truth and connect to the remote desktop of your Raspberry Pi you will need a client to use. My preferred client is the VNCViewer available from RealVNC. It is free, is available for most any system type and works like a champ.
Once you have downloaded and installed the VNCViewer, connecting to your Pi is a very straightforward process as shown below.
Launch your VNCViewer client
**Remember to add a “:1” at the end of your ip address to indicate connection to the initial open port on the TightVNCServer
You will then be presented with the login applet where you will enter the password you created previously.
Congratulations! You should now see the desktop of your Pi as seen in the image below.