This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
xhost/display oddities
- From: Chris Green <chris at areti dot co dot uk>
- To: cygwin-xfree at cygwin dot com
- Date: Sat, 13 Mar 2004 11:56:28 +0000
- Subject: xhost/display oddities
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: chris dot green at isbd dot co dot uk
Can anyone explain the following regarding xhost, display permissions,
etc.
I have an /etc/X0.hosts file with the following in it:-
127.0.0.1
If I open a Cygwin win2k console window I can run rxvt and an rxvt
window pops up successfully. It's using the above X0.hosts permission
because if I remove the above file rxvt won't start and says it can't
open display 127.0.0.1:0.0.
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.
Come to that why on earth does xlsfonts want to open the display
anyway, it only outputs to the console window.
--
Chris Green (chris@areti.co.uk)