X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <24801331.post@talk.nabble.com> Date: Mon, 3 Aug 2009 19:22:15 -0700 (PDT) From: mcoughlin To: cygwin AT cygwin DOT com Subject: Re: $DISPLAY variable empty after SSHing In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <24800981 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com In /etc/ssh/ssh_config ForwardX11Trusted yes Is that what you mean? Because that is how it is set currently (that file is on the "in between" computer). Michael Huang Bambo wrote: >=20 > You must have you ssh tool make X forward enabled. >=20 > 2009/8/4 mcoughlin : >> >> 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 >> :0.0 >> >> 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 >> generated >> Warning: No xauth data; using fake authentication data for X11 >> forwarding. >> >> And that is returned. >> >> ssh -Y computer #2 returns no errors. >> >> When I do >> [mcoughlin AT lisa ~]$ echo $DISPLAY >> localhost:12.0 >> 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, >> Michael >> >> -- >> View this message in context: >> http://www.nabble.com/%24DISPLAY-variable-empty-after-SSHing-tp24800981p= 24800981.html >> Sent from the Cygwin list mailing list archive at Nabble.com. >> >> >> -- >> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html >> FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http= ://cygwin.com/faq/ >> Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html >> Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-= simple >> >> >=20 > -- > 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 >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/%24DISPLAY-variable-emp= ty-after-SSHing-tp24800981p24801331.html 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