From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pent Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1467: 23.0.60; Cannot "emacsclient -c" to daemon started from tt1 Date: Mon, 01 Dec 2008 23:03:29 +0300 Message-ID: Reply-To: pent , 1467@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1228162233 29945 80.91.229.12 (1 Dec 2008 20:10:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2008 20:10:33 +0000 (UTC) Cc: rfrancoise@debian.org To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 01 21:11:36 2008 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 1L7F7I-0003Jq-4S for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Dec 2008 21:11:36 +0100 Original-Received: from localhost ([127.0.0.1]:53965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7F67-0003zN-Ob for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Dec 2008 15:10:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7F62-0003xv-6o for bug-gnu-emacs@gnu.org; Mon, 01 Dec 2008 15:10:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7F60-0003wc-HN for bug-gnu-emacs@gnu.org; Mon, 01 Dec 2008 15:10:17 -0500 Original-Received: from [199.232.76.173] (port=33068 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7F60-0003wZ-BZ for bug-gnu-emacs@gnu.org; Mon, 01 Dec 2008 15:10:16 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58734) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7F5z-0001IX-NK for bug-gnu-emacs@gnu.org; Mon, 01 Dec 2008 15:10:16 -0500 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 mB1KAC5p008969; Mon, 1 Dec 2008 12:10:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB1KA4LP008238; Mon, 1 Dec 2008 12:10:04 -0800 X-Loop: don@donarmstrong.com Resent-From: pent Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 01 Dec 2008 20:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1467 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12281618276124 (code B ref -1); Mon, 01 Dec 2008 20:10:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 1 Dec 2008 20:03:47 +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 mB1K3fQ4006117 for ; Mon, 1 Dec 2008 12:03:44 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:48969) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L7EzE-0004d8-Mv for emacs-pretest-bug@gnu.org; Mon, 01 Dec 2008 15:03:16 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L7Eza-0000Ve-4A for emacs-pretest-bug@gnu.org; Mon, 01 Dec 2008 15:03:39 -0500 Original-Received: from aparamon.dialup.corbina.ru ([89.179.245.94]:43184 helo=neo.paramonovs) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7EzZ-0000Uu-FH for emacs-pretest-bug@gnu.org; Mon, 01 Dec 2008 15:03:37 -0500 Original-Received: from pent by neo.paramonovs with local (Exim 4.69) (envelope-from ) id 1L7EzR-0000YO-Mq; Mon, 01 Dec 2008 23:03:29 +0300 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 01 Dec 2008 15:10:17 -0500 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:22820 gmane.emacs.pretest.bugs:23428 Archived-At: 0) Start X session. 1) Switch to tty1 or any other console terminal and run $ emacs --daemon Emacs server loads (correct). 2) Make sure you can connect to it by running $ emacsclient -t This should work from both tty and X sessions (correct). 3) Switch to X session and run $ emacsclient -c This fails with message Waiting for Emacs... *ERROR*: Display :0.0 can't be opened I think it would be really nice if Emacs could easily survive X crash. I'm ready to provide any additional info, Andrey In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-30 on elegiac, modified by Debian (emacs-snapshot package, version 1:20081129-1) Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' 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: ru_RU.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Info Minor modes in effect: delete-selection-mode: t pc-selection-mode: t shell-dirtrack-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t