This is the mail archive of the cygwin-xfree@cygwin.com 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: can't open window


Csaba Palotai wrote:
I'm kind of beginner with cygwin (not completely though). I need to use X11
but always get the "can't open window" message. Tried to reinstall XFree
3-times, searched the archives and tried whatever was suggested there,
nothing worked. I would really need it for remote applications, has anyone
experienced similar things or has any suggestions? Every idea helps. Thanks

Do you mean "Can't open display"? This is because your DISPLAY variable isn't set. To test this, do


# echo $DISPLAY

Assuming your shell is bash (echo $SHELL), you can set DISPLAY by doing

# export DISPLAY=127.0.0.1:0.0

To ensure this is done automatically, check that this is a line in the startxwin.sh or startxwin.bat script you use to start XFree. The default example scripts do contain this command.

-JT


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