delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/28/11:32:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Mon, 28 Feb 2005 10:31:28 -0600 (CST)
From: Satish Balay <balay AT fastmail DOT fm>
To: cygwin AT cygwin DOT 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 AT sea DOT gmane DOT org> <20050228143816 DOT GI3184 AT mikee DOT ath DOT cx>
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019