This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: xhost/display oddities
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin-xfree at cygwin dot com, chris dot green at isbd dot co dot uk
- Date: Sat, 13 Mar 2004 10:27:47 -0500 (EST)
- Subject: Re: xhost/display oddities
- References: <20040313115628.GA13781@areti.co.uk> <20040313120358.GA13842@areti.co.uk>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
On Sat, 13 Mar 2004, Chris Green wrote:
> On Sat, Mar 13, 2004 at 11:56:28AM +0000, Chris Green wrote:
> >
> > However if I try and run xhost it says 'unable to open display ""' and
> > similarly xlsfonts says the same thing.
> >
> > How does rxvt know to try and open display 127.0.0.1:0.0 whereas xhost
> > and xlsfonts (and others presumably) just have nothing for the
> > display?
> >
> > It's fixable by setting DISPLAY in the environment but it's a bit
> > confusing.
> >
> Even sillier, if I set DISPLAY=127.0.0.1:0.0 then xhost and xlsfonts
> work but rxvt fails and says "can't open display 127.0.0.1:0.0".
>
> There's something distinctly odd about all this!
What's odd, is using the value "127.0.0.1:0.0" for DISPLAY, when XWin runs
on ":0.0" by default.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton