unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54844: 29.0.50; pgtk: with --daemon, DISPLAY gets set to "wayland-0"
@ 2022-04-10 21:50 Sean Whitton
  2022-04-11  1:03 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 7+ messages in thread
From: Sean Whitton @ 2022-04-10 21:50 UTC (permalink / raw)
  To: 54844; +Cc: luangruo

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-04-12  5:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-10 21:50 bug#54844: 29.0.50; pgtk: with --daemon, DISPLAY gets set to "wayland-0" Sean Whitton
2022-04-11  1:03 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-11  1:10   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-11 18:46     ` Sean Whitton
2022-04-12  1:22       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-12  5:21         ` Sean Whitton
2022-04-12  5:28           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).