This is the mail archive of the
mailing list for the Cygwin project.
Re: $DISPLAY variable empty after SSHing
Is that what you mean? Because that is how it is set currently (that file is
on the "in between" computer).
Huang Bambo wrote:
> You must have you ssh tool make X forward enabled.
> 2009/8/4 mcoughlin <firstname.lastname@example.org>:
>> This may be confusing because I have to SSH twice to reach the computer I
>> work on.
>> On my home computer, I begin by starting the X server. I run the command:
>> bash-3.2$ echo $DISPLAY
>> And so it seems to be working fine. I then do:
>> ssh -X computer #2
>> Warning: untrusted X11 forwarding setup failed: xauth key data not
>> Warning: No xauth data; using fake authentication data for X11
>> And that is returned.
>> ssh -Y computer #2 returns no errors.
>> When I do
>> [mcoughlin@lisa ~]$ echo $DISPLAY
>> is returned for logging in with either the -X or -Y method.
>> When I finally log into my work computer with either the -X or -Y method,
>> -bash-3.2$ echo $DISPLAY
>> returns nothing. And so when I attempt to use octave to plot,
>> octave:2> plot(x)
>> gnuplot: unable to open display ''
>> gnuplot: X11 aborted.
>> Obviously nothing happens.
>> Can someone give me a clue?
>> Thank you,
>> View this message in context:
>> Sent from the Cygwin list mailing list archive at Nabble.com.
>> Problem reports: Â Â Â http://cygwin.com/problems.html
>> FAQ: Â Â Â Â Â Â Â Â Â http://cygwin.com/faq/
>> Documentation: Â Â Â Â http://cygwin.com/docs.html
>> Unsubscribe info: Â Â Âhttp://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
View this message in context: http://www.nabble.com/%24DISPLAY-variable-empty-after-SSHing-tp24800981p24801331.html
Sent from the Cygwin list mailing list archive at Nabble.com.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple