Friday, August 24, 2007

Displaying X-Window applications on a Windows client

To start displaying X-Window applications on your Windows system from a remote server, you need to have 2 things.

  1. A remote telnet/SSH client
  2. XWin Server

The best available free tools are PuTTy and Cygwin/X, so lets see how this is done.

PuTTy X Window Configuration

Install PuTTy from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Start PuTTy. The PuTTy Configuration window will appear. Enter the hostname, select SSH and enter a Saved Sesssions name.

On Terminal -> Keyboard, change the Backspace key select to Control-H.

On SSH, "Preferred SSH protocol version", check 2.

On SSH -> Auth, check the Authentication parameters, "Allow agent forwarding".

On SSH -> Tunnels, check X11 forwarding "Enable X11 forwarding"

On Session Click "Save" butter, the Saved Sesssions name will appear

When asked for "PuTTY Security Alert", please answer "Yes" to proceed. You will be asked only once in new configuration.

http://www.msi.umn.edu/user_support/xclient/xwin_config.html


Cygwin/X

To install click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Once you've downloaded setup.exe, run it and select "X11" and then click on the appropriate field until the above announced version number appears if it is not displayed already.

After installation start the Cygwin and start xwin, the X-Window started within the PuTTy should now be displayed on your screen.

0 comments: