unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Markus Triska <markus.triska@gmx.at>
To: emacs-pretest-bug@gnu.org
Subject: bug#1040: 23.0.60; emacs --daemon opens X11 connection
Date: Sat, 27 Sep 2008 23:31:55 +0200 (CEST)	[thread overview]
Message-ID: <20080927213155.0EC5CB0F19F@mt-computer.local> (raw)


When I log in via "ssh -X -Y -v <host>" to a remote host and do:

   $emacs --daemon

then the daemon seems to open an X11 connection:

   debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
   debug1: client_request_x11: request from 127.0.0.1 55586
   debug1: channel 1: new [x11]
   debug1: confirm x11
   debug1: channel 1: FORCE input drain
   debug1: channel 1: free: x11, nchannels 2
   debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
   debug1: client_request_x11: request from 127.0.0.1 55587
   debug1: channel 1: new [x11]
   debug1: confirm x11
   debug1: channel 1: FORCE input drain
   debug1: channel 1: free: x11, nchannels 2
   debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
   debug1: client_request_x11: request from 127.0.0.1 55588
   debug1: channel 1: new [x11]
   debug1: confirm x11

When I then try to log out (with C-d), the connection hangs until I
press C-c, which kills the Emacs daemon. I think the daemon should not
open an X11 connection by itself, and thus survive in cases like this.

In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
 of 2008-09-24 on mt-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t






             reply	other threads:[~2008-09-27 21:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-27 21:31 Markus Triska [this message]
2008-09-28  1:58 ` bug#1040: 23.0.60; emacs --daemon opens X11 connection Dan Nicolaescu
2008-09-28  2:49   ` Markus Triska

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=20080927213155.0EC5CB0F19F@mt-computer.local \
    --to=markus.triska@gmx.at \
    --cc=1040@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /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).