OK, I know what's wrong now. The step should be: 1. Start Cygwin X 2. xhost + Remote Server 3. ssh -X Remote Server
This works for me now. At least the "refused by server" is resolved. But not all Linux machines................ I can start X applications on some Linux machine in this way, but on some others, it still complains about: Error: Cann't open display: localhost:0.0 I have no idea, now the problem looks like is relating with the Linux machine setup. Anybody can help me? Thanks! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Welson Sun Sent: Wednesday, December 17, 2003 6:18 PM To: [EMAIL PROTECTED] Subject: Remote open X application Hi all, I have just installed Cygwin-XFree86, it works fine for local X applications, but when I tried to open remote X application, it fails. The log is: Xlib: connection to "localhost:0.0" refused by server Xlib: No protocol specified Error: Cann't open display: localhost:0.0 I searched the maillist, looks like a lot of people have been caught by this problem, but there is no satisfying answer yet. I have set the DISPLAY environment to be 127.0.0.1:0.0, but no help. I have disabled the NAV, but no help. Looks like it is the problem with my windows X server setting, somehow, it is not accepting the incoming request. Any idea guys? Best Regards, Welson Sun ------------------------------------- Electrical and Computer Engineering Brigham Young Unversity 461 CB, Provo, Utah 84602 Office: (801) 422-7206 Email: [EMAIL PROTECTED] -------------------------------------
