xhost/display oddities

Chris Green chris@areti.co.uk
Sat Mar 13 12:03:00 GMT 2004

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 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= then xhost and xlsfonts
work but rxvt fails and says "can't open display".

There's something distinctly odd about all this!

Chris Green (chris@areti.co.uk)

More information about the Cygwin-xfree mailing list