From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Matt Muggeridge" Newsgroups: gmane.emacs.bugs Subject: Emacs - cannot connect to X server Date: Thu, 20 Jun 2002 02:01:37 GMT Organization: Hewlett Packard Corporation (OpenVMS TCP/IP Engineering) Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <5IaQ8.333580$o66.861135@news-server.bigpond.net.au> Reply-To: "Matt Muggeridge" NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1024538588 4608 127.0.0.1 (20 Jun 2002 02:03:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Jun 2002 02:03:08 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17KrHv-0001CB-00 for ; Thu, 20 Jun 2002 04:03:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KrI1-000119-00; Wed, 19 Jun 2002 22:03:13 -0400 Original-Received: from mailbox4.ucsd.edu ([132.239.1.56]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KrGa-0000w3-00 for ; Wed, 19 Jun 2002 22:01:44 -0400 Original-Received: from mta05ps.bigpond.com (mta05ps.bigpond.com [144.135.25.137]) by mailbox4.ucsd.edu (8.12.1/8.12.1) with ESMTP id g5K21fc0021256 for ; Wed, 19 Jun 2002 19:01:41 -0700 (PDT) Original-Received: from mec2.bigpond.net.au ([144.135.25.75]) by mta05ps.bigpond.com (Netscape Messaging Server 4.15 mta05ps Apr 29 2002 13:22:02) with SMTP id GXZEYQ00.DS3 for ; Thu, 20 Jun 2002 12:01:38 +1000 Original-Received: from mec2.bigpond.net.au ([61.9.128.12]) by PSMAM03.mailsvc.email.bigpond.com(MailRouter V3.0n 83/12620169); 20 Jun 2002 12:01:38 Original-Received: (from news@localhost) by mec2.bigpond.net.au (8.8.8+Sun/8.8.8) id MAA12469; Thu, 20 Jun 2002 12:01:37 +1000 Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-NNTP-Posting-Host: 203.45.232.43 Original-X-Complaints-To: news@bigpond.net.au Original-X-Trace: news-server.bigpond.net.au 1024538497 203.45.232.43 (Thu, 20 Jun 2002 12:01:37 EST) Original-NNTP-Posting-Date: Thu, 20 Jun 2002 12:01:37 EST Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2160 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2160 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.