Raspberry Pi on iPad

Posted: October 13, 2013 by schoolpiclub in General News, Raspberry Pi Camera
Tags: , , ,

Raspberry Pi on iPad

It’s easy to set your iPad as a screen for your Raspberry Pi using VNC (Virtual Network Connection). Your Raspberry Pi will need to be connected to a network, either by ethernet or wireless.

1. First of all find out the IP address of your Raspberry Pi. I am using a Wi-Pi dongle to connect to the internet so I opened up the WIFI config and that told me my IP. You can also type the following into LX Terminal and that will reveal your IP.

sudo ifconfig

2. Install a VNC server program on your Pi. You can do that with the following commands:

sudo apt-get update
sudo apt-get install tightvncserver

You will be prompted to confirm installation by typing “Y’.

3. After you successfully installed VNC server you can now start a VNC server session with the following line:

vncserver :1

You will be prompted to enter and confirm a password. It would make sense to use “raspberry” for this, but passwords are limited to 8 characters, so I used “raspberr”. Note that this is the password that you will need to use to connect to the Raspberry Pi remotely.

You will also be asked if you want to create a separate “read-only” password – say no.

From now on, the only command that you need to type within your SSH to start the VNC server will be:

vncserver :1

The VNC server is now running and so we can attempt to connect to it via an iPad.

4. On your iPad you need to install the ‘Mocha VNC Lite’ app which is free to download. Once installed you need to configure it.

  • Select ‘New…Add a configuration’
  • In the VNC Server address type in your Raspberry Pi’s IP address.
  • Change the VNC Server Port number to 5901
  • Enter the VNC Password ‘raspberr’ (or which ever you chose)
  • Now select ‘connect on the left hand menu
  • Then choose click the Raspberry Pi’s IP

Your Raspberry Pi’s desktop should now be displayed.

Raspberry Pi on iPad 2

Advertisements

Comments are closed.