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: Sat, 09 Dec 2023 11:12:26 +0200 Message-ID: <83il57yc1x.fsf@gnu.org> References: <20231204193138.3bb398b8@Elitebook> <83il5d683k.fsf@gnu.org> <20231205004405.3fc7190e@Elitebook> <83a5qo6dce.fsf@gnu.org> <87edg0omfn.fsf@yahoo.com> <83sf4f4kcq.fsf@gnu.org> <875y1bo71r.fsf@yahoo.com> <83fs0f4ibi.fsf@gnu.org> <83cyvj4i7f.fsf@gnu.org> <87sf4fmr54.fsf@yahoo.com> <838r674gmg.fsf@gnu.org> <87o7f2n7vo.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1622"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mahlamytsike@gmail.com, 67628@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 09 10:14:12 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 1rBtPX-0000DT-It for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Dec 2023 10:14:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBtPC-0003me-8L; Sat, 09 Dec 2023 04:13:50 -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 1rBtPA-0003mR-PK for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2023 04:13:48 -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 1rBtPA-0006ou-H3 for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2023 04:13:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBtPN-0003my-Us for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2023 04:14: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: Sat, 09 Dec 2023 09:14: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.170211318314465 (code B ref 67628); Sat, 09 Dec 2023 09:14:01 +0000 Original-Received: (at 67628) by debbugs.gnu.org; 9 Dec 2023 09:13:03 +0000 Original-Received: from localhost ([127.0.0.1]:46823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBtOQ-0003lF-Gi for submit@debbugs.gnu.org; Sat, 09 Dec 2023 04:13:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBtOO-0003ki-8v for 67628@debbugs.gnu.org; Sat, 09 Dec 2023 04:13:00 -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 1rBtO5-0006l1-GN; Sat, 09 Dec 2023 04:12:41 -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=rNskvPejToLUIeJgD3BoF15EybuTaRnIZhEqVMDOJL0=; b=p3FTI/lg/6bu tAANId2e8N5CcgcsPWYKZWXIKWHnewYBPUpxIg2BFpXBSBzUqtI2IfvQS/3gZTZXJ340CKvUz0Ipf qHOkj1n7KBj0sXMpAyqWSEbj0CIamLDZqJGYPo7H18WfIbtHzLY8Opdgu6Uhbx+QfY6YIjeIcjqx9 dsY+shRVo+gQFhgI8yL/ToyTn2XLpoHlDEfbe3pSgGu55hZEClkwgl+SkhT0D0L5lW9WGSPQym28b /7E+SSKBbmVa/K/HGCCfVZDTmOKq8Ap+xYD4QGE2LXS+9gxvlSJHGxSNDOq0PhFl6d1wwYPdwPIij brFEWmgmGRW+yOZWUs0AMA==; In-Reply-To: <87o7f2n7vo.fsf@yahoo.com> (message from Po Lu on Thu, 07 Dec 2023 09:01:15 +0800) 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:275835 Archived-At: > From: Po Lu > Cc: mahlamytsike@gmail.com, 67628@debbugs.gnu.org > Date: Thu, 07 Dec 2023 09:01:15 +0800 > > Eli Zaretskii writes: > > >> From: Po Lu > >> Cc: mahlamytsike@gmail.com, 67628@debbugs.gnu.org > >> Date: Wed, 06 Dec 2023 20:50:31 +0800 > >> > >> Eli Zaretskii writes: > >> > >> > Oh, and one more question: why doesn't this happen in Emacs 28? IOW, > >> > what caused this "regression" in Emacs 29? > >> > >> The same change that's behind bug#64809 and bug#65191, among others. In > >> retrospect, the Cairo dynamic-setting code in bug#43128 shouldn't have > >> been installed at all, but then hindsight is universally 20/20. > > > > If you mean commit 52d4c98cec0901ef5cc1c55d5b3b33ac9d9c519f, then I > > don't see how it could cause the error. Can you explain? > > It can't extract the default settings when the display is opened, so > once the connection to the client providing display settings is > established, it always reports a change. I admit I'm confused (and somewhat frustrated) by these terse responses which doesn't explain enough for me to understand what would be the best way out of this. But never mind me: what do you suggest we do with this issue, on both master and the emacs-29 branches?