Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Jun 19 '11 at 9:12

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

add comment

3 Answers 3

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
2  
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
add comment

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
add comment

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
add comment

Your Answer

 
discard

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