all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joseph Mingrone <jrm@ftfl.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: problems with X11 forwarding inside frame
Date: Tue, 14 May 2013 16:52:22 -0300	[thread overview]
Message-ID: <86vc6lmj9l.fsf@gly.ath.cx> (raw)
In-Reply-To: 861u99o21r.fsf@gly.ath.cx

> Bob Proulx <bob@proulx.com> writes:
>> In order for X programs to connect to your display they will also look
>> at $XAUTHORITY or $HOME/.Xauthority to obtain the magic cookie
>> credentials to be able to connect.

This seems to be on the right track.  When I open a frame with % ssh -f
gly 'emacsclient -nc', I get the DISPLAY error.  However, if I leave the
emacs frame and open a local terminal and ssh to gly, then go back to
the emacs frame, X11 forwarding works.  I've checked the environment
before and after the second ssh and there are no changes.  On the other
hand, ~/.Xauthority on gly does change.

If think I have to get % ssh -f gly 'emacsclient -nc' to exchange a
magic cookie.  I'm guessing the answer is in the xauth man page.

Joseph




  reply	other threads:[~2013-05-14 19:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-14 15:20 problems with X11 forwarding inside frame Joseph Mingrone
2013-05-14 16:30 ` Bob Proulx
2013-05-14 18:21   ` Joseph Mingrone
2013-05-14 19:52     ` Joseph Mingrone [this message]
2013-05-16  5:17       ` W. Greenhouse
2013-05-19  1:46         ` Joseph Mingrone
2013-05-17 23:31     ` Bob Proulx
     [not found] <mailman.25746.1368546463.855.help-gnu-emacs@gnu.org>
2013-05-19  8:38 ` J G Miller

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

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

  git send-email \
    --in-reply-to=86vc6lmj9l.fsf@gly.ath.cx \
    --to=jrm@ftfl.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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.