Raspberry Pi on iPad
My second Raspberry Pi came at the end of last week, so now I have one to tinker with in addition to the first that I’m using as a media player.
It turns out that it’s not just SD cards that the raspi is fussy about, I had a real struggle getting either of my spare monitors to work with it. In the end I somehow found the combination of HDMI-DVI adaptor and cable that had worked last week and things sprung to life.
Getting a monitor to work wouldn’t be necessary if SSH was enabled by default, which sadly it isn’t.
You can start SSH from the command line with:
sudo /etc/init.d/ssh start
Alternatively you can set it to autostart by renaming one of the files in the boot partition:
sudo mv /boot/boot_enable_ssh.rc /boot/boot.rc
To install the VNC server on the raspi:
sudo apt-get install tightvncserver
Once that’s installed start it with:
vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565
I’ve set the resolution here to be the same as the iPad.
At this stage it might make sense to test things with a VNC client from a Windows (or Mac or Linux) box. I used the client from TightVNC .
The iPad bit
There are probably a bunch of VNC clients for the iPad, but I regularly use iSSH for a variety of things, and although at £6.99 it’s one of the most expensive apps I have on my iPad I generally think it’s worth it.
iSSH can connect to VNC servers directly or through an SSH tunnel:
Hit save and then hit the raspi entry to connect, and I get something like this:
At this point things are probably easier if you have a bluetooth keyboard (and mouse).
With two protocols (SSH and VNC) configured it’s possible to do useful stuff with the Raspberry Pi remotely, and the iPad with iSSH makes a fine piece of glass to use it through.
 I ordered from both suppliers in the first couple of days as it was utterly unclear which was going to get their act together.
 If you do use PuTTY then it may make more sense to generate keys using PuTTYgen rather than ssh-keygen (another howto).
Filed under: howto, Raspberry Pi | 8 Comments
Tags: howto, iPad, iSSH, Putty, Raspberry Pi, Raspi, RPi, SSH, vnd