--- Begin Message ---
Subject: |
29.0.50; pgtk: with --daemon, DISPLAY gets set to "wayland-0" |
Date: |
Sun, 10 Apr 2022 14:50:28 -0700 |
User-agent: |
Emacs/29.0.50 (x86_64-pc-linux-gnu) |
In a terminal emulator where DISPLAY is ":0",
1. src/emacs --daemon -Q
2. lib-src/emacsclient -c
3. M-: (getenv "DISPLAY") RET
Value is "wayland-0" instead of ":0". This is under Sway on Debian.
The problem does not occur if you launch without --daemon and then use
M-x server-start.
Seems similar to #53969. I tried commenting out the only other Lisp
code which does (setenv "DISPLAY" ...) but that does not help. So seems
like it is in C somewhere.
--
Sean Whitton
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#54844: 29.0.50; pgtk: with --daemon, DISPLAY gets set to "wayland-0" |
Date: |
Tue, 12 Apr 2022 13:28:31 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Sean Whitton <spwhitton@spwhitton.name> writes:
> Looks like that fixes it, thanks again!
I installed that and am closing this bug.
Thanks for testing.
--- End Message ---