This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 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: x apps cant start from bash


Rupert,

Hey, we like users that solve their own problems, we would like you to stick
around :)

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Rupert Brooks
> Sent: Saturday, October 05, 2002 4:00 PM
> To: cygwin-xfree@cygwin.com
> Subject: Re: x apps cant start from bash
>
>
> Solved my own problem; sorry to bother y'all
>
> FTR, the solution is that
> a) if the DISPLAY variable in bash is set without export, then when SSH
> starts up its not noticed, and then SSH does not notice where to send
> the X11 stream
>
> b) you have to set and export the display variable, it is neither set
> automatically, nor does ssh have a default.
>
> I'm a tcsh user, so didnt realize that necessity under bash.
>
> This seems to be covered in the SSH notes message, sorry I didn't see that
> before.
>
> Rupert B
>
>
> On Sat, 5 Oct 2002, Rupert Brooks wrote:
>
> > Hi
> >  - having a strange problem here.  Just installed a fresh install of
> > Cygwin / Xfree.  startxwin.bat works, and an xterm appears.  From that
> > xterm I can start other xapps and they work.
> >
> > BUT, from another cygwin bash shell, started independently, I get the
> > following error
> > xterm XT error: Can't open display:
> >
> > I have tried with numerous variations in the DISPLAY variable
> > localhost:0
> > localhost:0.0
> > 127.0.0.1:0
> > 127.0.0.1:0.0
> > 192.168.1.150:0.0
> >
> > etc
> >
> > I have done a tracert on all those addresses, and my routing seems ok,
> > that is packets for the localhost don't get routed out into the network
> > where the router might frig with them.
> >
> > Xwin.log shows no signs of having refused the connections.  So I am
> > guessing that the request never made it to the Xserver.
> >
> > The problem I am ultimately trying to solve, is to get a remote
> connection
> > tunnelled over openSSH or putty.  I have that setup on another machine,
> > and working well.  there are two differences with this machine - this OS
> > is WinME not Win2K, and this one lives behind a LinkSys router.
> >
> > Anyway, I think I should get the local set up working right first before
> > trying to diagnose the SSH part.  I don't see, though, why the router
> > should stop packets from the localhost.  There is no firewall
> software on
> > this machine.
> >
> > Has anyone seen this before?  Can anyone suggest where else to look?
> >
> > Thanks much
> > Rupert B.
> >
> >
>
> --
> --------------------------------------------------------------
> Rupert Brooks
> McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
> PhD. Student
> http://www.cyberus.ca/~rbrooks
> rbrook@cim.mcgill.ca
> ICQ: 27978014  CELL: 6137997873
> SMS: send short mail to <CELL#>@pcs.rogers.com
>
>
>


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