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: xhost/display oddities


On Sat, Mar 13, 2004 at 12:03:58PM +0000, 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!
> 
The plot thickens, sorry I'm rambling on.

xlsfonts and xhost will only run in the win2k console if I have an
xdmcp session running to (from?) a remote computer!  If I have an
X0.hosts file with 127.0.0.1 in it and the DISPLAY=127.0.0.1:0.0 then
both xhosts and xlsfonts both say "unable to open display
127.0.0.1:0.0".  But if I start an xdmcp session then they run
successfully.  They're not using the X session to display but they
insist on it being present.

Hmmmm.

-- 
Chris Green (chris@areti.co.uk)


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