This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How must I set the DISPLAY variable in order to be able to open x-windows applications?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]