www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4A77AFF8.5030406@cygwin.com> |
Date: | Mon, 03 Aug 2009 23:50:16 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: $DISPLAY variable empty after SSHing |
References: | <24800981 DOT post AT talk DOT nabble DOT com> |
In-Reply-To: | <24800981.post@talk.nabble.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 08/03/2009 09:39 PM, mcoughlin wrote: > > 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? Sounds like a configuration issue at the "work computer". I don't have a problem starting "xclock" from the final machine I "ssh -Y" into. DISPLAY on the ssh'd machines get set to "localhost:10.0" in my case. If DISPLAY isn't set to the same thing as it is on your "computer #2", I'd suspect the configuration issue is there. For me, my first computer is running Cygwin 1.7 (not significant when compared to 1.5 in this case I would suspect) on XP. The 2nd machine is running Fedora 8. The 3rd machine is running MythDora 10 (i.e. essentially Fedora 10). No special configuration on any of these. Not sure if this helps much other than to indicate that this can be made to work (and possibly localizing which machine is the likely suspect.) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |