unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Matt Muggeridge" <Matt.Muggeridge@hp.com>
Subject: Emacs - cannot connect to X server
Date: Thu, 20 Jun 2002 02:01:37 GMT	[thread overview]
Message-ID: <5IaQ8.333580$o66.861135@news-server.bigpond.net.au> (raw)

Environment: emacs on Tru64 UNIX V5.1 and Digital OSF1 V4.0, connecting to
my PC X-Server (Xcursion) across a wide-area cable connection.

When attempting to start emacs, I see:

---------------------------------------------------
    Emacs   WAN Result          LAN Result
   -------   -----------------   -----------------
    20.7      always succeeds    always succeeds
    21.1      mostly succeeds     always succeeds
    21.2      rarely succeeds      always succeeds
----------------------------------------------------

When it fails, the message displayed is:

 emacs: Cannot connect to X server xx.xx.xx.xx:0.0.
 Check the DISPLAY environment variable or use `-d'.
 Also use the `xhost' program to verify that it is set to permit
 connections from your machine.

It seems to be independent of the OS, as I see the same result on Tru64 UNIX
V5.1 and Digital OSF1 V4.0.  It also seems to be independent of my PC, as
I've tried it on one running Windows/ME and another running W2K.

All other X-applications I have tried succeed, even when emacs fails
repeatedly.  E.g. I can successfully run "xeyes", "xterm", "xclock",
"emacs-20.7".  This problem is limited to the versions of emacs above.

I do not understand how emacs connects to the X server, but I am suspicious
of timeouts.  Could it be that emacs does not wait long enough to establish
an X-session over a slow link?

Thanks for any feedback.

Matt.

             reply	other threads:[~2002-06-20  2:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-20  2:01 Matt Muggeridge [this message]
2002-06-21  9:41 ` Emacs - cannot connect to X server Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2002-07-01 21:24 Matt Muggeridge
2002-07-02  0:17 Matt Muggeridge
2002-07-02 19:45 ` Richard Stallman
2002-07-08  1:32 Matt Muggeridge
2002-07-08 18:20 ` Richard Stallman
2002-08-16  4:46 Matt Muggeridge
2002-08-17  4:51 ` Richard Stallman
2002-10-11  5:01 Muggeridge, Matt

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='5IaQ8.333580$o66.861135@news-server.bigpond.net.au' \
    --to=matt.muggeridge@hp.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).