Discussion:
Error:Can't open display:
Garcia, Lucy
2003-09-06 00:27:45 UTC
Permalink
I have been trying to get ddd working and I think my problem is with x,
however I am not sure. When I try to run ddd I get the following error.
Error:Can't open display:
So I tried numerous things and I finally think I got X running (because I
saw an X in my icon bar.)
when I double clicked the default startxwin.bat. So I looked in the file
and found out that it tries to open an xterm. I don't ever get an xterm. 2
boxes flash to the screen and I see the X icon in my lower right icon bar.
Could someone suggest something please? Even when I have the X icon
running, I get the same message from trying to run ddd. I tried to 'set
DISPLAY=0:0.0' in a bash shell and then rerun ddd but I still get the same
error. Although I run env and I don't see DISPLAY as an environment
variable.

I have bash2.05, cygwin 1.5.3-1, and XFree86-base 4.3.0-1. In addition,
when I run cygcheck -c the line for XFree86-base says that the version
4.3.0-1 is Incomplete. I have reinstalled all of the Xfree things from the
cywin installation today without much luck in changing the status of the
XFree86-base line in cygcheck.

Please help!

Thank You!


Lucy Garcia

Northrop Grumman Corporation
JSF Mission Systems
One Hornet Way, M/S 8D32/C4
El Segundo, CA 90245-2804

310-505-2937
***@ngc.com
Igor Pechtchanski
2003-09-06 00:36:24 UTC
Permalink
Lucy,
Post by Garcia, Lucy
I have been trying to get ddd working and I think my problem is with x,
however I am not sure. When I try to run ddd I get the following error.
So I tried numerous things and I finally think I got X running (because I
saw an X in my icon bar.)
when I double clicked the default startxwin.bat. So I looked in the file
and found out that it tries to open an xterm. I don't ever get an xterm. 2
boxes flash to the screen and I see the X icon in my lower right icon bar.
Could someone suggest something please? Even when I have the X icon
running, I get the same message from trying to run ddd. I tried to 'set
DISPLAY=0:0.0' in a bash shell and then rerun ddd but I still get the same
error. Although I run env and I don't see DISPLAY as an environment
variable.
In bash you need to export the variable. Plus, the value you're using is
wrong. Try

export DISPLAY=localhost:0.0

and then start ddd.
Post by Garcia, Lucy
I have bash2.05, cygwin 1.5.3-1, and XFree86-base 4.3.0-1. In addition,
when I run cygcheck -c the line for XFree86-base says that the version
4.3.0-1 is Incomplete. I have reinstalled all of the Xfree things from the
cywin installation today without much luck in changing the status of the
XFree86-base line in cygcheck.
This one's my fault. Basically, XFree86-base is an empty package,
therefore no manifest (file list) is generated for it. Cygcheck doesn't
find this package, so it complains (as you'll see if you pass the "-v"
flag to cygcheck). When I wrote that part, I thought the missing file
list is an abnormal situation. Turns out I was wrong.

In other words, please ignore this status for the XFree86-base package.
I'll try to get a fix for this into the next Cygwin release.
Post by Garcia, Lucy
Please help!
Thank You!
Lucy Garcia
Hope this helps,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ ***@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ ***@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Loading...