This is the mail archive of the cygwin-xfree@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

no 'screen'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]