This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: How must I set the DISPLAY variable in order to be able to open x-windows applications?
- From: "Brett Serkez" <techie at serkez dot net>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 25 Jan 2006 08:19:56 -0500
- Subject: Re: How must I set the DISPLAY variable in order to be able to open x-windows applications?
- References: <2AEAACEFB0B5294ABDB8E5337A321B89013CD7ED@sma2906.cr.eurocopter.corp>
- Reply-to: cygwin-xfree at cygwin dot com
> I have just installed cygwin/X and got the error message "Can't open
> display:" when starting e.g. xterm, xfig, ddd, i.e. an x-window
> application.
>
> I tried to set DISPLAY=localhost:0.0 or DISPLAY="IP-Address":0.0 with
> export DISPLAY, but the error message remained.
>
> How must I set the DISPLAY variable in order to be able to open x-
> windows applications?
You must start the X server, I usually setup a short-cut to:
C:\cygwin\usr\X11R6\bin\startxwin.bat
and even put that short-cut into my start folder on system systems.
Running that .bat file will not only start the X server, but also give
you your first xterm. :-)
Brett
----------------------------------------------------------------
Brett C. Serkez, Techie
--
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/