From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rf@q-leap.de Newsgroups: gmane.emacs.bugs Subject: bug#1379: emacs --daemon not working with X11 dual-head Date: Fri, 21 Nov 2008 00:26:40 +0100 Message-ID: <18725.62000.38364.607040@gargle.gargle.HOWL> References: <18724.11527.50272.291284@gargle.gargle.HOWL> <200811200212.mAK2ClRG008674@mothra.ics.uci.edu> <18725.16319.588596.606651@gargle.gargle.HOWL> <18725.60248.707518.131755@gargle.gargle.HOWL> <200811202317.mAKNHsY6012103@mothra.ics.uci.edu> Reply-To: rf@q-leap.de, 1379@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227225029 20176 80.91.229.12 (20 Nov 2008 23:50:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2008 23:50:29 +0000 (UTC) Cc: 1379@emacsbugs.donarmstrong.com, Stefan Monnier To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 21 00:51:30 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 1L3JJ2-0008Pb-MQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Nov 2008 00:51:29 +0100 Original-Received: from localhost ([127.0.0.1]:53129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3JHt-0002Fr-S9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 18:50:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3JHp-0002FP-Ia for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 18:50:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3JHp-0002FD-8H for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 18:50:13 -0500 Original-Received: from [199.232.76.173] (port=57452 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3JHo-0002F1-S5 for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 18:50:12 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45409) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L3JHo-0006Qp-8j for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 18:50:12 -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 mAKNo99x021592; Thu, 20 Nov 2008 15:50:09 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAKNZ3Sn017231; Thu, 20 Nov 2008 15:35:03 -0800 X-Loop: don@donarmstrong.com Resent-From: rf@q-leap.de Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 20 Nov 2008 23:35:03 +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.122722358615847 (code B ref 1379); Thu, 20 Nov 2008 23:35:03 +0000 Original-Received: (at 1379) by emacsbugs.donarmstrong.com; 20 Nov 2008 23:26:26 +0000 Original-Received: from mail.q-leap.de (ns2.q-leap.de [88.79.172.217]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAKNQMnS015838 for <1379@emacsbugs.donarmstrong.com>; Thu, 20 Nov 2008 15:26:24 -0800 Original-Received: by mail.q-leap.de (Postfix, from userid 5001) id D9BD4738; Fri, 21 Nov 2008 00:26:54 +0100 (CET) Original-Received: from fire (fire [192.168.55.80]) by mail.q-leap.de (Postfix) with ESMTP id A539D5ED; Fri, 21 Nov 2008 00:26:51 +0100 (CET) In-Reply-To: <200811202317.mAKNHsY6012103@mothra.ics.uci.edu> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 20 Nov 2008 18:50:13 -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:22541 Archived-At: >>>>> "Dan" == Dan Nicolaescu writes: Dan> rf@q-leap.de writes: >> >>>>> "Stefan" == Stefan Monnier >> writes: >> >> >>>> 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? >> Stefan> Actually, can you just try it without any Stefan> emacsclient/server? I.e. start Emacs on one of the Stefan> screens, then do M-x make-frame-on-display and specify the Stefan> other display. >> >> Good idea. It also doesn't work. Same error message. Dan> Can you please try to recompile emacs with Dan> --with-x-toolkit=lucid ? And try again emacs -Q and M-x Dan> make-frame-on-display ? (This is to make sure this is not a Dan> Gtk bug) I'll try. But this will take some time, since I didn't compile this myself (it's the version coming with Ubunto 8.10).