From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67628: Emacs 29.1: (x-open-connection (getenv "DISPLAY")) gets "Display :0.0 does not exist" error Date: Mon, 04 Dec 2023 22:11:43 +0200 Message-ID: <83il5d683k.fsf@gnu.org> References: <20231204193138.3bb398b8@Elitebook> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2231"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67628@debbugs.gnu.org To: Herman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 04 21:12:05 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rAFIT-0000Oi-GR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Dec 2023 21:12:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rAFIH-0005Na-A7; Mon, 04 Dec 2023 15:11:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAFIF-0005NR-LI for bug-gnu-emacs@gnu.org; Mon, 04 Dec 2023 15:11:51 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rAFIF-0003tY-DD for bug-gnu-emacs@gnu.org; Mon, 04 Dec 2023 15:11:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rAFIP-00018b-VI for bug-gnu-emacs@gnu.org; Mon, 04 Dec 2023 15:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Dec 2023 20:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67628 X-GNU-PR-Package: emacs Original-Received: via spool by 67628-submit@debbugs.gnu.org id=B67628.17017207164360 (code B ref 67628); Mon, 04 Dec 2023 20:12:01 +0000 Original-Received: (at 67628) by debbugs.gnu.org; 4 Dec 2023 20:11:56 +0000 Original-Received: from localhost ([127.0.0.1]:35823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAFIK-00018G-Bz for submit@debbugs.gnu.org; Mon, 04 Dec 2023 15:11:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAFII-000183-Cl for 67628@debbugs.gnu.org; Mon, 04 Dec 2023 15:11:54 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAFI2-0003sZ-9q; Mon, 04 Dec 2023 15:11:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/Ku6QZL9dXuAJ8tKMF6ZLtXZG69qRmGOnb9lGVXMBTY=; b=CzYlsVi86R19 2N9tP1xvdhGDNrSGYtCmcPmPbVYxrf7KGq1Es1k+/pfzYozHuvIDAr0rVNo2EtlKNA3nYgoSFNzF0 chxDwZ97W/0d/knRgAs6c631S0JsxlckVJsO172PaYZ1uj5aWDjdSUEdgxIP4jTwywzRdtr4kYTVT Z8+pKbejTuHzGhRKBBtOrer+m5eyATq33A1FChVigPK16tEx4VWBVFxMmyg4QxXAAp8OCVHH7SNwS Z4rYmA0IN3iQVEog2vWQ+707di5+XJgxa6vTtJAHGR6wxsju2faxG7H2R0y762H9cCnKjyzRrpu5b tXoQMrmnpimH2u+Azup3Mg==; In-Reply-To: <20231204193138.3bb398b8@Elitebook> (message from Herman on Mon, 4 Dec 2023 19:31:38 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275535 Archived-At: > Date: Mon, 4 Dec 2023 19:31:38 +0200 > From: Herman > > 'x-create-frame' succeeds, but 'x-open-connection' fails with same display argument. > > This error "Display :0.0 does not exist" happens only, when variable 'debug-on-error' is non-nil. When 'debug-on-error' is nil, the error is not present. I.e. it works on the principle - you get what you are looking for. It could be that the code catches the error and proceeds, but your setting debug-on-error non-nil prevents that. Why do you need to set debug-on-error in that case?