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: W. Greenhouse
Subject: Re: problems with X11 forwarding inside frame
Date: Thu, 16 May 2013 05:17:44 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Joseph Mingrone <jrm@ftfl.ca> writes:

>> 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

Maybe somehow it is the backgrounding behavior of ssh -f that causes the
trouble.  I use "ssh -Xt host emacsclient -c" often, and it can run
other X applications from its shells no problem.

-- 
Regards,
WGG




reply via email to

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