GUI apps through ssh
Jean-Sebastien Trottier
jst1@email.com
Tue Mar 1 03:18:00 GMT 2005
On Mon, Feb 28, 2005 at 10:31:28AM -0600, Satish Balay wrote:
> 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
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
>
> Satish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050301/e34cc58d/attachment.sig>
More information about the Cygwin
mailing list