Meanwhile I found that starting X with startxwin.sh sets the display
correctly and opens a X console. xpdf, xmgrace, etc... work nicelly now.
Must I start an X session this way?
Thanks.
Joao
----- Original Message -----
From: "João Esteves" <[EMAIL PROTECTED]>
To: <cygwin-xfree@cygwin.com>
Sent: Friday, May 19, 2006 1:32 PM
Subject: Re: Can't run graphical aplications
Thank you for your answer, Brett.
I have some (not to much) familiarity with linux, but I'm used to
configure a xorg.conf file. I understand that in Cygwin this does not
exist, so I'm a little lost in how to set once for all the variable
DISPLAY to 127.0.0.1:0.0
I runned xterm -display 127.0.0.1:0.0 but it gave the error message :
"Can't open display: 127.0.0.1:0.0
xterm: Display is not set".
Also, I have in XP, in menu "start" "programs" (in fact this is in
Portuguese, I hope the translation is Ok) "Cygwin-X" a shortcut for xterm,
but it doesn't work.
Regards.
Joao
----- Original Message -----
From: "Brett Serkez" <[EMAIL PROTECTED]>
To: <cygwin-xfree@cygwin.com>
Sent: Friday, May 19, 2006 1:08 PM
Subject: Re: Can't run graphical aplications
I've tried to start several graphical aplications, like xmgrace, twm or
xpdf
and I get always the same message "Can't open display: " It seems there
is
no display configured for the X server.
On the other hand, Xwin starts the Xserver with no error messages.
You must have the DISPLAY variable set to point to your X-Server, the
most likely setting to work would be 127.0.0.1:0.0. If you use the
xterm that should start with the X-Server, this variable should
already be set. X is clinet server, without the DISPLAY variable, the
clients are you starting have no way to find the X-server.
Since I'm new in Cygwin, perhaps I'm missing something. Any help on this
issue is highly appreciated.
A familarity with UNIX/Linux would be advisable as this is the
environment that Cygwin is providing. There are many sources of
information on this topic including The Linux Documentation Project
(www.tldp.org).
Brett
--
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/
--
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/
--
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/