From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Cannot connect to X server Date: Thu, 11 Dec 2003 09:47:10 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <8994A66FFE9ED411BD200008C75D64FD4BD481@belmail02.mis.gtech.com> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1071154958 28131 80.91.224.253 (11 Dec 2003 15:02:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2003 15:02:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Dec 11 16:02:36 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 1AUSKq-0005NM-00 for ; Thu, 11 Dec 2003 16:02:36 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AUSKp-0002JN-00 for ; Thu, 11 Dec 2003 16:02:35 +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 1AUTCd-0004eK-Uu for emacs-devel@quimby.gnus.org; Thu, 11 Dec 2003 10:58:11 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AUTBD-0004cP-LR for emacs-devel@gnu.org; Thu, 11 Dec 2003 10:56:43 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AUTAh-0004KW-RW for emacs-devel@gnu.org; Thu, 11 Dec 2003 10:56:42 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AUT4W-00021P-0X for emacs-devel@gnu.org; Thu, 11 Dec 2003 10:49:48 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AUS5u-0006Hl-Bz; Thu, 11 Dec 2003 09:47:10 -0500 Original-To: "Stenuit, Pascal" In-reply-to: <8994A66FFE9ED411BD200008C75D64FD4BD481@belmail02.mis.gtech.com> (Pascal.Stenuit@GTECH.COM) 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:18638 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18638 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. Why don't the calls to turn_on_atimers do this job? turn_on_atimers (0); dpy = XtOpenDisplay (Xt_app_con, SDATA (display_name), resource_name, EMACS_CLASS, emacs_options, XtNumber (emacs_options), &argc, argv); turn_on_atimers (1); Are those calls present in your version?