GNU bug report logs - #63555
emacs 29 complains that it can't connect to the display

Previous Next

Package: emacs;

Reported by: Phillip Susi <phill <at> thesusis.net>

Date: Wed, 17 May 2023 13:55:03 UTC

Severity: normal

Found in version 29.0.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#63555: closed (emacs 29 complains that it can't connect to
 the display)
Date: Sat, 20 May 2023 12:59:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 20 May 2023 15:58:50 +0300
with message-id <83ednbrwfp.fsf <at> gnu.org>
and subject line Re: bug#63555: emacs 29 complains that it can't connect to the display
has caused the debbugs.gnu.org bug report #63555,
regarding emacs 29 complains that it can't connect to the display
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
63555: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63555
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Phillip Susi <phill <at> thesusis.net>
To: submit <at> debbugs.gnu.org
Subject: emacs 29 complains that it can't connect to the display
Date: Wed, 17 May 2023 09:51:43 -0400
Package: emacs
Version: 29.0.90

In previous versions of emacs, if the DISPLAY/WAYLAND_DISPLAY variable
was not set, it would default to tty mode.  In version 29, it seems to
assume a default value and complains that it can't connect to the
display server unless you run it with -nw.



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 63555-done <at> debbugs.gnu.org, rpluim <at> gmail.com, phill <at> thesusis.net
Subject: Re: bug#63555: emacs 29 complains that it can't connect to the display
Date: Sat, 20 May 2023 15:58:50 +0300
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: rpluim <at> gmail.com,  phill <at> thesusis.net,  63555 <at> debbugs.gnu.org
> Date: Sat, 20 May 2023 16:28:30 +0800
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > What function(s) is/are used at that point which tells us a GUI
> > session is impossible?
> 
> window-system-initialization.
> 
> > Can we invoke those same functions earlier during startup to realize
> > this fact where we still can start as -nw?
> 
> Unfortunately not.  At least, not enough to make a change suitable for
> the release branch.

Too bad.  I added some verbiage to this effect in NEWS, and I'm
closing this bug.

(With all these disadvantages, I wonder why the PGTK build was
considered such a useful addition to Emacs...)

Btw, the Emacs user manual says WAYLAND_DISPLAY is the variable used
by PGTK, which you seem to say is inaccurate?


This bug report was last modified 263 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.