GNU bug report logs - #1379
[gtk] emacs --daemon not working with X11 dual-head

Previous Next

Package: emacs;

Reported by: rf <at> q-leap.de

Date: Wed, 19 Nov 2008 15:20:03 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: rf <at> q-leap.de
Cc: 1379 <at> debbugs.gnu.org
Subject: bug#1379: emacs --daemon not working with X11 dual-head
Date: Thu, 20 Nov 2008 09:26:45 -0800 (PST)
rf <at> q-leap.de writes:

  > >>>>> "Dan" == Dan Nicolaescu <dann <at> ics.uci.edu> writes:
  > 
  > Hi Dan,
  > 
  >     Dan> rf <at> 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
  > 
  > 
  >     Dan> Can you please try to see if your scenario works without
  >     Dan> using the --daemon option?
  > 
  >     Dan> Start emacs like this:
  > 
  >     Dan> emacs -Q -f server-start&
  > 
  >     Dan> and then use emacsclient -c to connect.
  > 
  > I already had put (server-start) in my .emacs. This shows the same
  > behaviour.

Putting (server-start) in your .emacs is most of the time not the same
as using 

emacs -Q -f server-start&

so please try that, and even better, please try what Stefan asked:

  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.

Make sure that you use 

emacs -Q&

when trying the above.

Thanks





This bug report was last modified 3 years and 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.