Sunday, October 26, 2008

X Forwarding with Putty | Windows

Here is a quick howto guide on doing X forwarding using Xming and Putty on your Windows.

What is X forwarding

X Fowarding is the ability to securely forward X Window System applications over your encrypted SSH connection, so that you can run an application on the SSH server machine and have the windows/GUI up on your local machine.

Why use X forwarding

Let's assume that you have an X application on a remote machine that you need to run like Oracle installation, and you want the windows to open up in your local machine like your laptop. One way to run this remote application is to use X11-Forwarding.

What you need.

Putty - PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an xterm terminal emulator Download here

Xming - Xming is the leading free unlimited X Window Server for Microsoft Windows (XP/2003/Vista) - Download here

Step 1 - Install both Putty and Xming
Step 2 - make sure that Xming is started then run Putty
Step 3 - Input hostname on the hostname field, and Name of the session then click saved.
Step 4 - Go to connection - > SSH - > X11 on the Putty Side bar menu
Step 5 - Check "Enable X11 Forwarding", put "localhost:0" as the display location
Step 6 - Then go back to your stored session then save it again.

You should be able to execute an X Windows apps on the rmeote machine and the windows will display on your local machine now.

Tech Blog's Quick List of other how to below:

1 comment:

Anonymous said...

If you are smart you can completly bypass the gui and use this sort of config in a run box:

putty -X username@serveraddress

Then you dont have to use any of the menu system or click anything.

Simple

For suggestion and concerns E-mail