SSHD fails to display gui, no error message

Igor Pechtchanski
Fri Dec 9 16:47:00 GMT 2005

On Fri, 9 Dec 2005, Jesse wrote:

> 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.
> [snip]
> I made sure my program runs locally without any x11 and it does.
> I tested out my application on someone else's ssh server and you can run
> it remotely without any problems.
> [snip]
> Anyone have any ideas why simple X applications work fine, but my java
> gui's don't work over x11?

Because java under Windows is not an X application.  You can't forward
windows native applications over ssh (unless you use something like VNC).
At a guess, the "someone else's" server you mention above is a Linux box
(which does have an X implementation of Java GUI code).
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list