This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: "cannot open display"
- From: Jens Wilken <Jens dot Wilken at osc-es dot de>
- To: Cygwin MailList <cygwin at cygwin dot com>
- Date: Mon, 11 Sep 2006 14:44:49 +0200
- Subject: Re: "cannot open display"
- References: <4502966C.7010002@sherna.demos.su>
- Reply-to: Cygwin MailList <cygwin at cygwin dot com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ogogon !!! wrote:
> Good afternoon, colleagues!
>
> I have established CygWin to compile under Windows the program
> developed in gcc. At compilation of console applications - all OK.
> All applications, even rather complex, are started and work without
> remarks.
>
> However, any attempt to create the program with GTK+, leads to that
> at their start there is a message "Gtk-WARNING **: cannot open
> display:". At distribution kit CygWin there is a program
> gtk-demo.exe. Obviously, it it is guaranteed it is compiled without
> mistakes. It is not started and also writes "Gtk-WARNING **: cannot
> open display:".
>
> My OS - WindowsXP Pro (Rus). What do I do incorrectly?
>
> Yours faithfully, Ogogon.
>
>
> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html FAQ:
> http://cygwin.com/faq/
>
>
Hi,
is the EnvVariable "DISPLAY" set to the right display, e.g.
"127.0.0.1:0.0" AND is some sort of XServer running?
Jens
- --
Dipl. Inform. Jens Wilken
Software Developer
OSC Embedded Systems AG
Industriestr. 11
26121 Oldenburg - Germany
Mail: Jens.Wilken@osc-es.de
Tel.: +49-441-350 42-0
Fax.: +49-441-350 42-364
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFBVpB/nbz2tIAgUQRAlvsAJ4ixXxSDjuZfLvNuvLgZyWQXWb9WgCgky+7
4HGnZKC6I8wg2m2vnBMDLug=
=S/1t
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/