Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    I get the following message when I start emacsclient: Warning: due to a long standing Gtk+ bug https://gitlab.gnome.org/GNOME/gtk/issues/221 Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. . That's exactly the situation you are describing I believe. Is you Emacs built with Gtk+? Commented Sep 18 at 3:08
  • @NickD Yes, I saw this message as well. But the X connection is not "unexpectedly lost". The problem only comes up if dialog boxes are disabled. If they are enabled, they are shown, which means that the connection is still there. Commented Sep 18 at 9:11
  • 1
    I must admit that I'm not sure that this is the problem (although it can be tested if one builds an Emacs with something other than Gtk+). But I thought I would point it out just in case. I would suggest a bug report (M-x report-emacs-bug) with as much detail as you can muster on all the cases you have tested. Commented Sep 18 at 13:08