This is the mail archive of the
cygwin-xfree@sources.redhat.com
mailing list for the Cygwin project.
no 'screen'
- To: <cygwin-xfree at sources dot redhat dot com>
- Subject: no 'screen'
- From: "Kris Thielemans" <kris dot thielemans at csc dot mrc dot ac dot uk>
- Date: Thu, 16 Nov 2000 15:04:15 -0000
Hi,
I'm trying to get my own (very simple) X program to run on my machine (see
below).
My program essentially starts as follows:
Display * SCX_display = XOpenDisplay ("");
if (!SCX_display)
{
error("Cannot open DISPLAY\n");
}
if (ScreenCount(SCX_display)==0)
{
error("Cannot open DISPLAY: screen count = 0\n");
}
And there I'm stuck: ScreenCount(SCX_display)==0.
The program works fine on Linux, AIX, Solaris...
Xfree/xterm works fine.
I tried various settings for DISPLAY, including
export DISPLAY=127.0.0.1:0.0
Configuration:
OS NT 4.0 sp6
latest cygwin thing (dll 1.5-7)
just downloaded Xfree*.tar.bz2 where * is the DLL, devel and Xterm
Exceed 6.1 (sorry, but I really need non-full screen X...)
Any suggestions?
Thanks!
Kris Thielemans
MRC Cyclotron Unit,
Hammersmith Hospital,
DuCane Rd,London W12 0NN, United Kingdom
Phone on : +44 (020)8383 3731
FAX on : +44 (020)8383 2029
NEW web site address:
http://www.cu.mrc.ac.uk/~kris