unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Nix <nix@esperi.org.uk>
Cc: 8750@debbugs.gnu.org
Subject: bug#8750: 24.0.50; Crash in daemon mode when display goes away
Date: Sat, 28 May 2011 13:35:36 -0400	[thread overview]
Message-ID: <7hei3i6847.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <877h9bp0pb.fsf@spindle.srvr.nix> (nix@esperi.org.uk's message of "Sat, 28 May 2011 11:40:48 +0100")

Nix wrote:

> I suspend my desktop box every night, to save power. My Emacs runs on a
> remote system in --daemon mode, and is never shut down. $DISPLAY on that
> system points directly to the desktop box: this is sometimes suspended,
> so the TCP/IP connection cannot be assumed to stay up. (Nonetheless, if
> it goes away, if it is re-established, the X session will be exactly as
> it was.)
>
> When this happens, Emacs's X error handler kicks in and kills it:

Sounds like this etc/PROBLEMS entry:

** When Emacs is compiled with Gtk+, closing a display kills Emacs.

> (If this is impossible, can anyone suggest a way to keep Emacs running
> while the X server is down? I've tried xpra, but its keyboard handling
> is too broken :( )

You can try using a Lucid toolkit build.

> In GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.8)
>  of 2011-05-26 on spindle





  reply	other threads:[~2011-05-28 17:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-28 10:40 bug#8750: 24.0.50; Crash in daemon mode when display goes away Nix
2011-05-28 17:35 ` Glenn Morris [this message]
2011-05-28 23:37   ` Nix
2011-05-28 23:49     ` Chong Yidong
2011-05-31 20:22       ` Nix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7hei3i6847.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=8750@debbugs.gnu.org \
    --cc=nix@esperi.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).