Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Counld not able to run Data display debugger

3 views
Skip to first unread message

manish rai

unread,
Apr 22, 2013, 7:12:52 AM4/22/13
to bug-gn...@gnu.org
Hi
    My name is manish, and i am also developer in UNIX system. when i am trying to use DDD its giving mean error:-

ddd (Binary Name)
Error: Can't open display:

Could you please tell me why is this.

Thanks
Manish

Bob Proulx

unread,
Apr 22, 2013, 2:19:09 PM4/22/13
to manish rai, bug-gn...@gnu.org
That error literally means that the X Window System display can't be
opened. But it didn't report a name. So I assume that the DISPLAY
environment variable is not set. And if that is not set then I assume
it means that you do not have a graphical display available at that
moment in time.

Try opening another X program. Try opening "xclock".

$ xclock

That is a very simple program. If that works then it proves that you
can open new windows. If it fails then it proves that there isn't a
problem with ddd but simply with your environment. Fix that and ddd
will then work fine.

These days most people log into a system using a graphical login
manager and since you are asking this question I assume that you did
too. The display environment is set up automatically at that time.
If it isn't then very little will work correctly. Start debugging
your problem there.

Bob

0 new messages