Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!newsfeed.internetmci.com!uuneo.neosoft.com!Starbase.NeoSoft.COM!not-for-mail From: claird@Starbase.NeoSoft.COM (Cameron Laird) Newsgroups: comp.unix.bsd.freebsd.misc,comp.lang.tcl,comp.windows.x Subject: "bad screen number" Date: 7 Feb 1997 14:04:58 -0600 Organization: NeoSoft Internet Services +1 888 NEOSOFT Lines: 33 Message-ID: <5dg1ta$an1@Starbase.NeoSoft.COM> NNTP-Posting-Host: 206.109.7.129 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35125 comp.lang.tcl:55563 comp.windows.x:94370 I can't get Wish to go. The proximate symptom is an "application-specific initialization failed: bad screen number '0'" diagnostic. This amounts to a report that ScreenCount(XOpenDisplay($DISPLAY)) is zero (!). This is an incredible nuisance, 'cause, beside be- ing up against the usual deadlines, the darn thing was doing fine up until the latest re-generation. I promise I didn't change anything; I was just doing disk hygiene on my FreeBSD box, and innocently commanded "make clean; make" in a directory that shouldn't have changed. The environment has been quiet, too; no new versions of X, no new compilers, just a mostly-idle machine that was happy one minute, and Screen-less the next. Details: I get the same symptom with Tk4.1, 4.2, and 8.0. I'm running 2.1.6-RELEASE of FreeBSD. It looks most like some kind of incompatibility between the Xlib.h and the -lX11 for the def- inition of Display, but I know of no changes in those, and certainly none that should affect my sources. Binaries (xterm, ...) from before the cataclysm all do fine; I don't think it's a misconfiguration of my X server. I've tried the usual range of possibilities for DISPLAY: ":0.0"; "unix:0.0"; "$HOSTNAME:0.0"; ... Any clues? Anyone? -- Cameron Laird http://starbase.neosoft.com/~claird/home.html claird@NeoSoft.com +1 713 623 8000 #227 +1 713 996 8546 FAX