I have a micro Amazon instance the I want to use for testing and everything is going fine until the title. If I set up all the info in PuTTy, open it up and run 'xclock', all runs perfectly and it opens on Xming on my local desktop. If, however, I run
ssh xxxxxxx.amazonaws.com xclock
Error: Can't open display:
If I run either of
ssh xxxxxxx.amazonaws.com -X DISPLAY=localhost:0:0 xclock ssh xxxxxxx.amazonaws.com -Y DISPLAY=localhost:0:0 xclock
I get the same again, but just after about a 30 second delay.
In .ssh/config in Windows, I do have
set, and I really can't think of anything more to get this working. The fact that PuTTy is working perfectly, not no matter what I do on the command line, I get absolutely no joy is driving me crazy.
Can I even see the commands PuTTy is running somewhere, to see if it's doing some extra magic?
The ssh I'm running in Windows is MinGW32's.