help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with X11 forwarding inside frame


From: Joseph Mingrone
Subject: Re: problems with X11 forwarding inside frame
Date: Tue, 14 May 2013 16:52:22 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix)

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]