From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#1379: emacs --daemon not working with X11 dual-head Date: Thu, 20 Nov 2008 10:01:37 -0500 Message-ID: References: <18724.11527.50272.291284@gargle.gargle.HOWL> <200811200212.mAK2ClRG008674@mothra.ics.uci.edu> <18725.16319.588596.606651@gargle.gargle.HOWL> Reply-To: Stefan Monnier , 1379@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227193930 3458 80.91.229.12 (20 Nov 2008 15:12:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2008 15:12:10 +0000 (UTC) Cc: 1379@emacsbugs.donarmstrong.com, Dan Nicolaescu To: rf@q-leap.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 20 16:13:11 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 1L3BBt-00088m-Sz for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 16:11:34 +0100 Original-Received: from localhost ([127.0.0.1]:53139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3BAk-00005C-QE for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 10:10:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3BAe-0008WC-5r for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 10:10:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3BAc-0008Vf-AQ for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 10:10:14 -0500 Original-Received: from [199.232.76.173] (port=58257 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3BAb-0008VV-PM for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 10:10:13 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40168) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L3BAb-0004UR-5F for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 10:10:13 -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 mAKFA90S015965; Thu, 20 Nov 2008 07:10:09 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAKFA66H015567; Thu, 20 Nov 2008 07:10:06 -0800 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 20 Nov 2008 15:10:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1379 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1379-submit@emacsbugs.donarmstrong.com id=B1379.122719330313275 (code B ref 1379); Thu, 20 Nov 2008 15:10:06 +0000 Original-Received: (at 1379) by emacsbugs.donarmstrong.com; 20 Nov 2008 15:01:43 +0000 Original-Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAKF1cc2013266 for <1379@emacsbugs.donarmstrong.com>; Thu, 20 Nov 2008 07:01:40 -0800 Original-Received: from ceviche.home (vpn-132-204-232-86.acd.umontreal.ca [132.204.232.86]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id mAKF1b2r011703; Thu, 20 Nov 2008 10:01:37 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 6DE62B40D7; Thu, 20 Nov 2008 10:01:37 -0500 (EST) In-Reply-To: <18725.16319.588596.606651@gargle.gargle.HOWL> (rf@q-leap.de's message of "Thu, 20 Nov 2008 11:45:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3151=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 20 Nov 2008 10:10:14 -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:22522 Archived-At: >>> I wanted to start using the "emacs --daemon" option with >>> subsequent "emacsclient ..." invocations. Everything works >>> fine, as long as only one of my X11 screens is used. But when I >>> want to start a new frame on display :0.1 while one or more >>> frames are already running on display :0.0 the following >>> happens: >>> >>> - Executing "emacsclient -c " for the first time: A frame >>> appears, and immediately disappears again with the error >>> message *ERROR*: X protocol error: BadDrawable (invalid Pixmap >>> or Window parameter) on protocol request 14 >>> >>> - Executing "emacsclient -c " for the second time: A frame >>> appears, but emacs is in a complete dead lock after this. >>> >>> Used Version: i emacs-snapshot 1:20081013-1 >>> >>> on Ubuntu 8.10 / x86_64 Dan> Can you please try to see if your scenario works without Dan> using the --daemon option? Actually, can you just try it without any emacsclient/server? I.e. start Emacs on one of the screens, then do M-x make-frame-on-display and specify the other display. Stefan