On Tue, 23 Oct 2001, Alan Davies wrote:
OK I installed Cywin on a PC (Win2000) - and I installed the XFree86 and..... it works! Well - up to point anyhow. I can't persuade the local 'X' environment to accept connections from our Linux Box - or at least, not except for a round about route. Clearly I don't understand something. I start up Cygwin and do XWin and hey presto up pops an X window. I can connect locally to this in that I can run twm locally and within it I can run local apps like xeyes, xcalc, etc which are supplied with the Cygwin environment. However if I try xhost <linux IP box address> or even xhost + which I thought would allow all X connections it replies that it cannot open "". What does "" refer to and where should it be set?
Try starting XWin with an argument "-broadcast" or "-query linux_box_name". This should bring up a graphical login (xdm) screen, in the same way that a 'normal' thin-client Linux terminal would. If you use XDM then access controls should be taken care of automatically - no need to get involved with xhost et al.
I also tried a Win98 installation but it cannot open/find the font "default" which seems rather strange.
We have a pre-packaged version of Cygwin/XFree86 available. This
includes only the components required to use XFree86 (i.e. it doesn't
include things like bash, X11R6-contribs etc). It should work under 95
and 98 - NT/2K support is a case of "when I get round to compiling a
20-line program". It auto-detects your screen size and colour depth to
make life that little bit easier.
Currently available from http://osie.sourceforge.net/CygXF86.zip
If anyone could get the following bit of code compiled and linked I'd be
grateful - I don't have a full Cygwin build environment and I have other
things higher up the priority list ATM. This is the bit of code required
for auto-detection of screen size under NT/2K:
#include