Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 28 Feb 2005 10:31:28 -0600 (CST)
From: Satish Balay <balay@fastmail.fm>
To: cygwin@cygwin.com
Subject: Re: GUI apps through ssh
In-Reply-To: <20050228143816.GI3184@mikee.ath.cx>
Message-ID: <Pine.LNX.4.62.0502281029450.16655@asterix>
References: <cvv9o3$ude$1@sea.gmane.org> <20050228143816.GI3184@mikee.ath.cx>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-IsSubscribed: yes

On Mon, 28 Feb 2005, Mike wrote:

> On Mon, 28 Feb 2005, artem_ave might have said:
> 
> > Hello,
> > 
> > I have Win 2000 machine running Cygwin (with X Server) and i'm trying to
> > launch GUI apps from remote Solaris system via ssh (with -X option).
> > Whatever DISPLAY I set in my ssh session it says:
> > ... Xt error: Can't open display: ...
> > 
> > What am I doing wrong?
> 
> Do you have the local X server running?
> 
> start bash (double-click on the cygwin icon)
> start x ($ startx)
> make the ssh connection (ssh -X HOST)
> try something graphic ($ xterm)

Also - if invoking ssh from a regular bash-cmd [not xterm] - make sure
your display variable is properly set.

i.e
setenv DISPLAY :0.0
ssh -Y remotemachine
xterm

Satish

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

