public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Welson Sun" <welson@et.byu.edu>
To: <cygwin-xfree@cygwin.com>
Subject: RE: Remote open X application
Date: Thu, 18 Dec 2003 03:38:00 -0000	[thread overview]
Message-ID: <20031218033800.3mqu-sYqbN2pZ6WMNluf07rUuslCzaYDefwVhvn18dw@z> (raw)
In-Reply-To: <E1AWmoA-0003bt-Sa@postal2.et.byu.edu>

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: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]
On Behalf Of Welson Sun
Sent: Wednesday, December 17, 2003 6:18 PM
To: cygwin-xfree@cygwin.com
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:  welson@et.byu.edu
------------------------------------- 








       reply	other threads:[~2003-12-18  2:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1AWmoA-0003bt-Sa@postal2.et.byu.edu>
2003-12-18  3:38 ` Welson Sun [this message]
     [not found] <3FE12A23.90206@msu.edu>
2003-12-18 17:29 ` Welson Sun
     [not found] <E1AWozL-0006X4-Rv@sys17.mail.msu.edu>
2003-12-18 17:13 ` Harold L Hunt II
     [not found] <E1AWoYH-0007Eo-JP@sys17.mail.msu.edu>
2003-12-18  9:15 ` Harold L Hunt II
2003-12-18 15:47   ` Welson Sun
     [not found] <E1AWoMp-0004H3-2V@sys17.mail.msu.edu>
2003-12-18  3:41 ` Harold L Hunt II
2003-12-18  4:48   ` Welson Sun
2003-12-18  3:31 Welson Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031218033800.3mqu-sYqbN2pZ6WMNluf07rUuslCzaYDefwVhvn18dw@z \
    --to=welson@et.byu.edu \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).