unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: rf@q-leap.de
Cc: 1379@emacsbugs.donarmstrong.com
Subject: bug#1379: emacs --daemon not working with X11 dual-head
Date: Thu, 20 Nov 2008 09:26:45 -0800 (PST)	[thread overview]
Message-ID: <200811201726.mAKHQjsM010696@mothra.ics.uci.edu> (raw)
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")

rf@q-leap.de writes:

  > >>>>> "Dan" == Dan Nicolaescu <dann@ics.uci.edu> writes:
  > 
  > Hi Dan,
  > 
  >     Dan> 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
  > 
  > 
  >     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







  parent reply	other threads:[~2008-11-20 17:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-19 15:13 bug#1379: emacs --daemon not working with X11 dual-head rf
2008-11-20  2:12 ` Dan Nicolaescu
2008-11-20 10:45   ` rf
2008-11-20 15:01     ` Stefan Monnier
2008-11-20 22:57       ` rf
2008-11-20 23:17         ` Dan Nicolaescu
2008-11-20 23:26           ` rf
2008-11-21 11:01           ` rf
2008-11-21 16:12             ` Dan Nicolaescu
2008-11-20 17:26     ` Dan Nicolaescu [this message]
2013-07-08  7:04 ` bug#1379: Emacs (GTK+) segfaulting " Ashish SHUKLA
2022-02-20 13:52 ` bug#1379: [gtk] emacs --daemon not working " Lars Ingebrigtsen
2022-03-21 18:30   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200811201726.mAKHQjsM010696@mothra.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=1379@emacsbugs.donarmstrong.com \
    --cc=rf@q-leap.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).