public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* "cannot open display"
@ 2006-09-09 10:26 Ogogon !!!
  2006-09-09 15:12 ` Eric Blake
  2006-09-11 12:45 ` Jens Wilken
  0 siblings, 2 replies; 3+ messages in thread
From: Ogogon !!! @ 2006-09-09 10:26 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "cannot open display"
  2006-09-09 10:26 "cannot open display" Ogogon !!!
@ 2006-09-09 15:12 ` Eric Blake
  2006-09-11 12:45 ` Jens Wilken
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Blake @ 2006-09-09 15:12 UTC (permalink / raw)
  To: cygwin, ogogon, cygwin-xfree

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ogogon !!! on 9/9/2006 4:24 AM:
> 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:".

Then it is probably an X problem, and you asked the wrong list.  Try
cygwin-xfree; redirecting accordingly.

> 
> My OS - WindowsXP Pro (Rus). What do I do incorrectly?

Probably forgot to set up X.  And also didn't follow these directions:
> Problem reports:       http://cygwin.com/problems.html

Including the output of 'cygcheck -svr' as a text attachment would have
told us what the real problem was.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFAtnT84KuGfSFAYARAptMAJ9I6SZIelcwaaVdsNbFw/WVdotYjACgxYbG
emxh/luTjLE9VRQG193V2l8=
=CuEC
-----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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "cannot open display"
  2006-09-09 10:26 "cannot open display" Ogogon !!!
  2006-09-09 15:12 ` Eric Blake
@ 2006-09-11 12:45 ` Jens Wilken
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Wilken @ 2006-09-11 12:45 UTC (permalink / raw)
  To: Cygwin MailList

-----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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-11 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-09 10:26 "cannot open display" Ogogon !!!
2006-09-09 15:12 ` Eric Blake
2006-09-11 12:45 ` Jens Wilken

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).