unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs and emacsclient on different displays
Date: Fri, 30 Oct 2009 02:07:26 -0400	[thread overview]
Message-ID: <jwveiolbem5.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.9563.1256660726.2239.help-gnu-emacs@gnu.org

> Should I be able to run emacs and emacsclient on different displays?

Yes.

> host1 % echo $DISPLAY
> localhost:14.0
> host1 % emacsclient -s test1 -c foo
> Waiting for Emacs...X11 connection rejected because of wrong authentication.
> *ERROR*: Connection lost to X server `localhost:14.0'

Does "xterm" bring up an xterm?  Could it be that your original "emacs"
was started with a different .Xautority file, maybe?
I.e. compare $XAUTHORITY in each cases (ideally it should be
empty/undefined in each case).


        Stefan


       reply	other threads:[~2009-10-30  6:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.9563.1256660726.2239.help-gnu-emacs@gnu.org>
2009-10-30  6:07 ` Stefan Monnier [this message]
2009-10-27  4:26 emacs and emacsclient on different displays Jim Barbour
2009-10-30 15:20 ` Suvayu Ali
2009-10-30 15:47 ` suvayu ali
2009-10-30 16:12   ` Jim Barbour
2009-10-30 17:40     ` Suvayu Ali

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=jwveiolbem5.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).