Subject: Re: bug#67628: Emacs 29.1: (x-open-connection (getenv "DISPLAY")) gets "Display :0.0 does not exist" error

From: Eli Zaretskii <[email-masked]>
Date: Wed, 06 Dec 2023 15:15:03 +0200

> From: Po Lu <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Wed, 06 Dec 2023 20:50:31 +0800
> 
> Eli Zaretskii <[email-masked]> 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?