This is the mail archive of the
cygwin-xfree@sources.redhat.com
mailing list for the Cygwin project.
RE: no 'screen'
- To: <cygwin-xfree at sources dot redhat dot com>
- Subject: RE: no 'screen'
- From: "Suhaib Siddiqi" <ssiddiqi at inspirepharm dot com>
- Date: Thu, 16 Nov 2000 10:06:49 -0500
> 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
>
What exactly happen?
If I am not mistaken, Exceed 6.1 does have problems with
DISPLAY=127.0.0.1:0.0
as I saw in thier knowledge base. Try seeting setting DISPLAY=127.0.0.1:0.0
system wide using Control Panel --> System --> Environment
Suhaib
>
>
> 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
>