VNC access
This part is optional, but I believe that it is very useful. You will be able to do everything just fine only with ssh. But it does not hurt if you have access to the visual part of the OS. Especially if you’re new to Linux and are used to Windows. With VNC you can remotely connect to your Raspberry Pi and work with the graphical interface.
For starters, install VNC withapt-get install tightvncserver
. Set the password by typing in tightvncserver
and type a password for VNC connections when prompted. You can skip entering the password for viewing only. If you reboot now, VNC will not auto start, so let’s take care of that. You have to move to the following directory using cd /etc/init.d/
. Download the vncboot file that contains everything needed to auto start vnc at boot – wget https://raw.github.com/peter985/vnc/master/vncboot
. This script by default is not executable, so you need to change this. Type in chmod 755 /etc/init.d/vncboot
and confirm. Now enable dependency based boot sequencing update-rc.d /etc/init.d/vncboot defaults
. Should you run into an error such as update-rc.d: error: unable to read /etc/init.d//etc/init.d/vncboot you will need to issue another command. Put in update-rc.d vncboot defaults.
