Frank Shute <fr...@shute.org.uk> wrote:

> On Tue, Jul 12, 2011 at 03:18:07AM -0700, per...@pluto.rain.com wrote:
> >
> > DISPLAY is not getting set in a remote shell started by "ssh -X".
...
> Have you tried putting:
>
> DISPLAY=:0.0
>
> in ~/.ssh/environment on the machine that's not setting DISPLAY
> properly?

Wouldn't that cause the remote app -- which is running on the
ssh server -- to (try to) use that machine's own local display?
A port-forwarded connection normally has something along the
lines of

  DISPLAY=localhost:10.0

(but it can't be hard-coded, because the "10" part will vary
depending on what-all port-forwarded connections exist).
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to