On Fri, Apr 20, 2012, at 19:53, Jon TURNEY wrote: > On 20/04/2012 11:43, Ronald Fischer wrote: > > My setup so far (which is working well), was to use Xming as X-Server > > and putty for logging into our Solaris hosts via ssh. Since I have > > Cygwin installed, I thought I could use its ssh equally well, so I > > exported the ssh key from putty to the format understood by ssh, and > > used the following bash command to login to the Solaris host: > > > > DISPLAY=:0.0 TERM=xterm ssh -p 22 -K -X -i MyPrivateKeyFile > > MyUserName@SolarisHost > > > > When I now try to start an X application, I get an error message like > > this > > > > connect /tmp/.X11-unix/X0: No such file or directory > > XIO: fatal IO error 131 (Connection reset by peer) on X server > > "SolarisHost:239.0" > > after 0 requests (0 known processed) with 0 events remaining. > > I think I know what's going on here. > > The solution should be to use DISPLAY=localhost:0.0 instead, which means > to > connect to the X server for display 0 via TCP/IP, which the Xming X > server > should be listening on.
Nice idea, but the result is, that I just get a different error message. Now it becomes: connect localhost port 6000: Connection refused X connection to SolarisHost:217.0 broken (explicit kill or server shutdown). >From the FAQ, I see that port 6000 is the default. Could it be that I need to specify somehow a non-standard port? Ronald -- Ronald Fischer <[email protected]> + If a packet hits a pocket on a socket on a port, + and the bus is interrupted and the interrupt's not caught, + then the socket packet pocket has an error to report. + (cited after Peter van der Linden) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
