Setting up SSH and X Forwarding for your Raspberry Pi


This guide will show you how to SSH into your Raspberry Pi from within Windows, while also setting up automatic X Forwarding. This assumes you already know your IP address - if you don't, see the following guide first: http://www.cpdforteachers.com/resources/finding-the-ip-address-of-your-raspberrypi. You also need the following zip file downloaded and extracted onto your computer: http://cpdforteachers.com/downloads/Xming.zip

 

1) Navigate to your Xming folder or wherever you extracted the zip file to.

2013-07-09_202512

 

2) Run the batch file 'Start Xming+Putty.bat'. This will cause an extra icon to appear in your system tray.

2013-07-09_202842

 

3) Right-click on the icon and select 'New PuTTY Session...'

2013-07-09_203022

 

4) Select 'Sessions from file' as shown

2013-07-09_205015

 

5) Select 'Default Settings' and then click 'Load'

2013-07-09_205229

 

6) Enter the IP address of your Raspberry Pi and click "Open". If you do not know your IP address see http://www.cpdforteachers.com/resources/finding-the-ip-address-of-your-raspberrypi

2013-07-09_205353

 

5) You may see an error similar to this. If so click "Yes’.

2013-07-09_203402

 

 

6) Enter your username and password. The defaults are "pi’ and "raspberry’ respectively. When typing your password you will not see any characters appearing. This is normal.

2013-07-09_205525

 

7) When you see a screen similar to this you are done, and now directly interfacing with the Raspberry Pi.

2013-07-09_205854

 

8) You may start a graphical application such as Scratch just by running it normally.

2013-07-09_210540

 

Do note that intense graphical applications (such as Scratch) may exhibit some interface lag. In addition, if you wish the command line to remain responsive while a graphical application is open an ampersand (&) must be appended to the command, for example:

scratch &