--- Begin Message ---
|
Subject: |
emacs 29 complains that it can't connect to the display |
|
Date: |
Wed, 17 May 2023 09:51:43 -0400 |
|
User-agent: |
mu4e 1.7.12; emacs 27.1 |
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.
--- End Message ---
--- Begin Message ---
|
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@yahoo.com>
> Cc: rpluim@gmail.com, phill@thesusis.net, 63555@debbugs.gnu.org
> Date: Sat, 20 May 2023 16:28:30 +0800
>
> Eli Zaretskii <eliz@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?
--- End Message ---