From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1040: 23.0.60; emacs --daemon opens X11 connection Date: Sat, 27 Sep 2008 23:31:55 +0200 (CEST) Message-ID: <20080927213155.0EC5CB0F19F@mt-computer.local> Reply-To: Markus Triska , 1040@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1222552230 16242 80.91.229.12 (27 Sep 2008 21:50:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2008 21:50:30 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 27 23:51:27 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kjhgy-0003r4-Cu for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Sep 2008 23:51:08 +0200 Original-Received: from localhost ([127.0.0.1]:57974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kjhfv-0002Tn-RD for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Sep 2008 17:50:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kjhfr-0002Sr-FU for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2008 17:49:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kjhfq-0002Rv-25 for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2008 17:49:58 -0400 Original-Received: from [199.232.76.173] (port=37512 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kjhfp-0002Rp-O9 for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2008 17:49:57 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34152) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kjhfp-0000PK-AR for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2008 17:49:57 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8RLnswX018347; Sat, 27 Sep 2008 14:49:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8RLe4PB016163; Sat, 27 Sep 2008 14:40:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Markus Triska Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 27 Sep 2008 21:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1040 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122255112414833 (code B ref -1); Sat, 27 Sep 2008 21:40:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 27 Sep 2008 21:32:04 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8RLW0Nw014827 for ; Sat, 27 Sep 2008 14:32:01 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:55889 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KjhMM-0002XF-Rd for emacs-pretest-bug@gnu.org; Sat, 27 Sep 2008 17:29:50 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KjhOQ-0004hy-Cg for emacs-pretest-bug@gnu.org; Sat, 27 Sep 2008 17:31:59 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:45131) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KjhOP-0004gp-Nj for emacs-pretest-bug@gnu.org; Sat, 27 Sep 2008 17:31:58 -0400 Original-Received: (qmail invoked by alias); 27 Sep 2008 21:31:54 -0000 Original-Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp063) with SMTP; 27 Sep 2008 23:31:54 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX1+wKDhLMRKw4F34ZLchxAHFXAPYMoT8VG+9FFIjse FCKyEbp7trqIMx Original-Received: by mt-computer.local (Postfix, from userid 502) id 0EC5CB0F19F; Sat, 27 Sep 2008 23:31:55 +0200 (CEST) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 27 Sep 2008 17:49:58 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20836 gmane.emacs.pretest.bugs:23099 Archived-At: When I log in via "ssh -X -Y -v " 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