Re: checkX $ checkX --version run2 0.4.2
checkX doesn't work as I understand the description below: "DESCRIPTION Determines if X is installed, Xserver is running on specified DISPLAY and will accept clients. Returns 0 if yes, nonzero otherwise" Environment / Procedure to duplicate the error: - I have an X11 server running, started in pty0, where I will test checkX - In this pty0, I start an X11 server, which from the xinitrc starts up another mintty terminal, pty1 with Display environment variable set to :0 - Testing checkX in pty1 (which has DISPLAY set) returns a 0 or successful result. checkX :0 --> returns 0 - Moving back to pty0 and running the same command with the same argument gives: checkX :0 --> return 1 and error condition or no server available. However, if I simply manually set DISPLAY=:0 in pty0 X11 clients will run. - export DISPLAY=127.0.0.1:0 - checkX :0 --> Nnw reports an o.k. this server is useable. If one relied on checkX the runing server would be missed. It is doing nothing that a check if DISPLAY var is set or not andn then possible testing it. It should has used the value :0 I sent it and do some X11 stuff I am not aware of. I intented on interating through files in /tmp/.X11-unix/* looking for an active X11 server, but checkX doesn't seem to fit the bill. Do I have to just manually set DISPLAY and try to run a program that relies on it, since checkX doesn't work by telling me a server can be use, when it can be. ------------ Cheers -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple