"cannot open display"

Larry Hall (Cygwin X) reply-to-list-only-lh-x@cygwin.com
Sun Sep 10 02:45:00 GMT 2006


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?


Forgot to read and follow the problem reporting guidelines?

> Problem reports:       http://cygwin.com/problems.html


My WAG - you're not running the X-server.  Run it and try again.  If
you don't have it, re-run 'setup.exe' and install all the X packages.
Open a command prompt and type 'startxwin.bat' and return.  Wait for
the X-server to start (puts a little "X" in your task bar).  Try again.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list