unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: rf@q-leap.de
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: 1379@emacsbugs.donarmstrong.com,
	Stefan Monnier <monnier@IRO.UMontreal.CA>
Subject: bug#1379: emacs --daemon not working with X11 dual-head
Date: Fri, 21 Nov 2008 12:01:53 +0100	[thread overview]
Message-ID: <18726.38177.511042.959596@gargle.gargle.HOWL> (raw)
In-Reply-To: <200811202317.mAKNHsY6012103@mothra.ics.uci.edu>

>>>>> "Dan" == Dan Nicolaescu <dann@ics.uci.edu> writes:

    Dan> rf@q-leap.de writes:
    >> >>>>> "Stefan" == Stefan Monnier <monnier@IRO.UMontreal.CA>
    >> 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)

Yup, that was it. With the lucid toolkit, the problem is gone. Thanks
for the hint, and good luck in finding out what is wrong with gtk ;-).

Roland






  parent reply	other threads:[~2008-11-21 11:01 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 [this message]
2008-11-21 16:12             ` Dan Nicolaescu
2008-11-20 17:26     ` Dan Nicolaescu
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=18726.38177.511042.959596@gargle.gargle.HOWL \
    --to=rf@q-leap.de \
    --cc=1379@emacsbugs.donarmstrong.com \
    --cc=dann@ics.uci.edu \
    --cc=monnier@IRO.UMontreal.CA \
    /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).