I wrote this swing application that I am to run remotely. I can upload the code to an established SSH server and then I connect to it with x11 forwarding with putty and it runs just great.

The problem is that I need to run it on my personal cygwin SSH server. I've had Cygwin's ssh daemon (sshd) working for some time now on my windows box. I have turned x11 forwarding on and I can test it by connecting to the machine remotely and running some X applications like xeyes and xclock. They work just fine.

However, when I try running my swing application I get no error messages but no window gets displayed. I used some debug messages to check to see that the program is getting past the line of code that executes the window display and messages that go to the console appear fine.

I thought that maybe it was a problem because I was using swing, so I wrote a simple hello world awt frame program but the same exact thing happens.

Anyone have any ideas why simple X applications work fine, but my java gui's don't work over x11?

Reply via email to