From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#1379: emacs --daemon not working with X11 dual-head Date: Wed, 19 Nov 2008 18:12:47 -0800 (PST) Message-ID: <200811200212.mAK2ClRG008674@mothra.ics.uci.edu> References: <18724.11527.50272.291284@gargle.gargle.HOWL> Reply-To: Dan Nicolaescu , 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 1227148237 31938 80.91.229.12 (20 Nov 2008 02:30:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2008 02:30:37 +0000 (UTC) Cc: 1379@emacsbugs.donarmstrong.com To: rf@q-leap.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 20 03:31:39 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 1L2zKT-00073N-Qt for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 03:31:38 +0100 Original-Received: from localhost ([127.0.0.1]:46221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2zJK-0003wq-NP for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Nov 2008 21:30:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2zJG-0003v0-5P for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2008 21:30:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2zJD-0003rd-Gk for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2008 21:30:20 -0500 Original-Received: from [199.232.76.173] (port=32880 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2zJD-0003rW-An for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2008 21:30:19 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51669) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L2zJD-0005xq-5W for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2008 21:30:19 -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 mAK2U9e4009704; Wed, 19 Nov 2008 18:30:09 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAK2K3vC006739; Wed, 19 Nov 2008 18:20:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 20 Nov 2008 02:20: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.12271471805359 (code B ref 1379); Thu, 20 Nov 2008 02:20:03 +0000 Original-Received: (at 1379) by emacsbugs.donarmstrong.com; 20 Nov 2008 02:13:00 +0000 Original-Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAK2Cw69005353 for <1379@emacsbugs.donarmstrong.com>; Wed, 19 Nov 2008 18:12:59 -0800 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mAK2CmSO009351; Wed, 19 Nov 2008 18:12:48 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mAK2ClRG008674; Wed, 19 Nov 2008 18:12:47 -0800 (PST) In-Reply-To: <18724.11527.50272.291284@gargle.gargle.HOWL> (rf@q-leap.de's message of "Wed, 19 Nov 2008 16:13:11 +0100") Original-Lines: 33 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mAK2CmSO009351 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 19 Nov 2008 21:30:20 -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:22507 Archived-At: rf@q-leap.de writes: > Hi, > > 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 Can you please try to see if your scenario works without using the --daemon option? Start emacs like this: emacs -Q -f server-start& and then use emacsclient -c to connect.