bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54844: 29.0.50; pgtk: with --daemon, DISPLAY gets set to "wayland-0"


From: Po Lu
Subject: bug#54844: 29.0.50; pgtk: with --daemon, DISPLAY gets set to "wayland-0"
Date: Mon, 11 Apr 2022 09:03:29 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Sean Whitton <spwhitton@spwhitton.name> writes:

> 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.

Yep, this is in the multi-TTY code.  I'll fix that.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]