delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/28/22:19:12

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 22:18:38 -0500
From: Jean-Sebastien Trottier <jst1 AT email DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: GUI apps through ssh
Message-ID: <20050301031838.GA21187@gw.jsoft.lan>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <cvv9o3$ude$1 AT sea DOT gmane DOT org> <20050228143816 DOT GI3184 AT mikee DOT ath DOT cx> <Pine DOT LNX DOT 4 DOT 62 DOT 0502281029450 DOT 16655 AT asterix>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.62.0502281029450.16655@asterix>
User-Agent: Mutt/1.5.6+20040907i
X-IsSubscribed: yes

--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 28, 2005 at 10:31:28AM -0600, Satish Balay wrote:
> On Mon, 28 Feb 2005, Mike wrote:
>=20
> > On Mon, 28 Feb 2005, artem_ave might have said:
> >=20
> > > Hello,
> > >=20
> > > 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: ...
> > >=20
> > > What am I doing wrong?
> >=20
> > Do you have the local X server running?
> >=20
> > start bash (double-click on the cygwin icon)
> > start x ($ startx)
> > make the ssh connection (ssh -X HOST)
> > try something graphic ($ xterm)
>=20
> Also - if invoking ssh from a regular bash-cmd [not xterm] - make sure
> your display variable is properly set.
>=20
> i.e
> setenv DISPLAY :0.0
> ssh -Y remotemachine
> xterm

Hi Satish and Artem,

-Y is equivalent to the "ForwardX11Trusted yes" in your ~/.ssh/config
option and -X is equivalent to the "ForwardX11 yes" (see 'man
ssh_config' for details on both of these)

-Y does not enable -X automatically, so either you set both options as
defaults in your ~/.ssh/config or use them on the command-line:
    ssh -X -Y remotemachine

Cheers,
Sebastien

>=20
> Satish

--X1bOJ3K7DJ5YkBrT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCI98OWHtULG0eY+ERAnmAAJ9oISvTxer8A4aDug2QIXFDMUDnfgCgleQE
Q8Cjfib2yBkKTAW+01grnWc=
=Dd60
-----END PGP SIGNATURE-----

--X1bOJ3K7DJ5YkBrT--

- Raw text -


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