GNU bug report logs - #1040
23.0.60; emacs --daemon opens X11 connection

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Sat, 27 Sep 2008 21:40:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1040 in the body.
You can then email your comments to 1040 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1040; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Markus Triska <markus.triska <at> gmx.at>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Markus Triska <markus.triska <at> gmx.at>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; emacs --daemon opens X11 connection
Date: Sat, 27 Sep 2008 23:31:55 +0200 (CEST)
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




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1040; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Dan Nicolaescu <dann <at> ics.uci.edu>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 1040 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Markus Triska <markus.triska <at> gmx.at>
Cc: 1040 <at> debbugs.gnu.org
Subject: Re: bug#1040: 23.0.60; emacs --daemon opens X11 connection
Date: Sat, 27 Sep 2008 18:58:41 -0700 (PDT)
Markus Triska <markus.triska <at> gmx.at> writes:

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

I checked in a fix, please test.

Thx




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1040; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Markus Triska <markus.triska <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 1040 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Markus Triska <markus.triska <at> gmx.at>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 1040 <at> debbugs.gnu.org
Subject: Re: bug#1040: 23.0.60; emacs --daemon opens X11 connection
Date: Sun, 28 Sep 2008 04:49:41 +0200
Dan Nicolaescu <dann <at> ics.uci.edu> writes:

> I checked in a fix, please test.

It fixes this problem for me, thank you.




bug closed, send any further explanations to Markus Triska <markus.triska <at> gmx.at> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Sun, 28 Sep 2008 20:20:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Mon, 27 Oct 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.