public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Tk_Init failed: bad screen number "0"
@ 2008-03-28 14:01 Traxter
  2008-03-28 14:06 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Traxter @ 2008-03-28 14:01 UTC (permalink / raw)
  To: insight


I just compiled insight for mips-elf but I'm unable to run it though. This
what it looks like:

cayman:~# /usr/local/insight-mips/bin/mips-elf-insight 
Tk_Init failed: bad screen number "0"
cayman:~# /usr/local/insight-mips/bin/mips-elf-gdb -w
Tk_Init failed: bad screen number "0"

I guess tk can't create any windows which I can't understand because I can
start other windows from my shell with, for example, executing "xterm" which
brings up a new window with a shell. Should I set some other environment
variables other than DISLPAY?

Can anyone please give any ideas on what's wrong?
-- 
View this message in context: http://www.nabble.com/Tk_Init-failed%3A-bad-screen-number-%220%22-tp16349806p16349806.html
Sent from the Sourceware - insight list mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Tk_Init failed: bad screen number "0"
  2008-03-28 14:01 Tk_Init failed: bad screen number "0" Traxter
@ 2008-03-28 14:06 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2008-03-28 14:06 UTC (permalink / raw)
  To: Traxter; +Cc: insight

Traxter wrote:

> Can anyone please give any ideas on what's wrong?

What is DISPLAY set to? "0" isn't a valid screen number that I've ever 
seen. Usually it's ":0" or ":0.0" or some variation on that.

Keith

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-28 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-28 14:01 Tk_Init failed: bad screen number "0" Traxter
2008-03-28 14:06 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).