Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to connect to a Linux server from my Windows 7 desktop. I can successfully ssh in, but I want the equivalent of "ssh -X", so that I can open GUI programs and actually see them.

share|improve this question

migrated from Jun 19 '11 at 9:12

This question came from our site for professional and enthusiast programmers.

You can enable X11 Forwarding in Putty's configuration. In the menu on the left, find the Connection tree. In SSH, expand it and you will see Tunnels window. Click "Enable X11 forwarding". It is setting the default to X display at "localhost:0".

Of course, the server you are connecting to also needs to be properly configured.

Hope this helps and good luck.

share|improve this answer
Of course, you also need an X11 server running on the computer with putty, so the remote programs have a way to display their GUIs. – Ben Voigt Jun 19 '11 at 1:58

you will need a xserver like xming running as well.

Personally i just tend to use mobaxterm and ssh-x in that cause its a fair bit simpler

share|improve this answer

I think you are much better off by installing cygwin with the xserver and openssh, otherwise installing the x server can be too much of a hassle.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.