From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stenuit, Pascal" Newsgroups: gmane.emacs.devel Subject: Re: Cannot connect to X server Date: Wed, 10 Dec 2003 06:39:09 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <8994A66FFE9ED411BD200008C75D64FD4BD481@belmail02.mis.gtech.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1071056617 32427 80.91.224.253 (10 Dec 2003 11:43:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Dec 2003 11:43:37 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Dec 10 12:43:28 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AU2ka-0004gJ-00 for ; Wed, 10 Dec 2003 12:43:28 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AU2ka-0006oP-00 for ; Wed, 10 Dec 2003 12:43:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AU3gA-0002cX-Rm for emacs-devel@quimby.gnus.org; Wed, 10 Dec 2003 07:42:58 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AU3g4-0002bA-PY for emacs-devel@gnu.org; Wed, 10 Dec 2003 07:42:52 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AU3fY-0002TL-Q1 for emacs-devel@gnu.org; Wed, 10 Dec 2003 07:42:51 -0500 Original-Received: from [192.156.110.26] (helo=gtech.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AU3fY-0002RP-Ei for emacs-devel@gnu.org; Wed, 10 Dec 2003 07:42:20 -0500 Original-Received: from ([156.24.14.43]) by ciphertrust2.gtech.com with ESMTP ; Wed, 10 Dec 2003 06:39:06 -0500 (EST) Original-Received: by rimail01.mis.gtech.com with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Dec 2003 06:40:19 -0500 Original-To: "'emacs-devel@gnu.org'" X-Mailer: Internet Mail Service (5.5.2653.19) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18614 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18614 Hello, We've been experiencing the same problem as the one described here below. Running truss on emacs showed the TCP connect to the X server being interrupted (EINTR). The reason for the interrupt is the keyboard timer running at that time. The XtOpenDisplay retries the connect a few times and then gives up. The problem happens reliably only on slow links. We suspect that the behaviour of connect was changed between 4.2 and 5.0 (EINTR is not listed as valid error code in 4.2 - I dont have the man pages for 5.x), but the X libraries were not adapted to take EINTR. As a quick and dirty hack, we've blocked SIGALRM just around the call to XOpenDisplay and XtOpenDisplay and the problem went away. We didnt log a call to IBM, though. In the hope this can be useful to somebody else... rgds, pascal stenuit pascal, gtech, Terhulpsesteenweg 6d, B-1560 Hoeilaart Bus: +32 2 678.13.73 Mobile: +32 4 78.88.17.08 Bus Fax: +32 2 678.13.45 ---------------------------------------------------------------------------- ---- From: Richard Stallman Subject: Re: Cannot connect to X server Date: Fri, 30 May 2003 13:12:56 -0400 ---------------------------------------------------------------------------- ---- When I invoke emacs on AIX 5.1 it gives me the following error message. emacs: Cannot connect to X server hollowman: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. Did you verify that the X server on hollowman allows connections from the machine where Emacs is running? The fix could be as simple as running xhost. If the problem is not that, then I don't know what to do. I hope someone finds a solution and tells the Emacs developers. ----------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof.