This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GUI apps through ssh


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]