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: You also need the following zip file downloaded and extracted onto your computer:


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



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



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



4) Select 'Sessions from file' as shown



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



6) Enter the IP address of your Raspberry Pi and click "Open". If you do not know your IP address see



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




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.



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



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



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 &