Personal tools
User menu

Knowledge Base/Tools/PuTTY

From Thalesians

Jump to: navigation, search

Using PuTTY with Xming PC X Server

If you PuTTY/SSH into a machine and try

ray03% xclock

chances are you will see

Error: Can't open display:

How can we fix this?

First of all, you need a PC X Server on your client PC. We can use Xming, available for free, downloadable from

Install it and make sure that it's running.

Now configure your PuTTY. When you start PuTTY you will see the PuTTY Configuration window. Under "Category:" select Connection > SSH > X11. Make sure that "Enable X11 forwarding" is ticked. For "X display location" enter "127.0.0.1".

(You can persist these settings for each session if you then select the category "Session" and click on "Save".)

Now you should see the X window when you run xclock.

  • This page was last modified on 30 August 2009, at 00:12.
  • This page has been accessed 3,888 times.