home *** CD-ROM | disk | FTP | other *** search
- Message-ID: <9208131455.AA19796@lucid.com>
- Subject: Yet another "DISPLAY"-problem
- Date: Thu, 13 Aug 1992 10:55:12 -0400
- From: mthome@BBN.COM
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Sender: help-lucid-emacs-request@lucid.com
- Lines: 67
-
- I'm having trouble getting lemacs to work: here are the
- symptoms (please read them all before telling me about the v18 vs v19
- elisp directories)...
-
- lemacs version 19.0 (came with our release of energize)
- installed on /nfs/kar/u2/cadillac/lemacs/, nfs mounted via the same
- path on two other machines, pil and met. DISPLAY set to
- met:0.0. EMACSLOADPATH environment var not set. "which lemacs"
- returns /nfs/kar/u2/cadillac/lemacs/lemacs on all three machines.
- All three machines are Sun4s running SunOS 4.1.2.
-
- case 1:
- met% lemacs -q ;; everything comes up fine -
- ;; for that matter lemacs w/out
- ;; -q works great.
-
- case 2:
- kar% lemacs -q
- Error: Can't Open display
- ;; hmm - maybe it can't find the elisp files...
-
- kar% cd /nfs/kar/u2/cadillac/lemacs
- kar% ./lemacs -q
- Error: Can't Open display
- ;; hmm - is it even trying the right files?
- kar% trace lemacs -q |& more
- ;; lots of stuff, including many successful stat()'s and read()'s
- ;; of /nfs/kar/u2/cadillac/lemacs/lisp/...
- ;; The trace finishes up with the following interesting calls:
- open ("/etc/hosts", 0, 0666) = 4
- ioctl (4, 0x40125401, 0xf7ffd744) = -1 ENOTTY (Inappropriate ioctl for device)
- fstat (4, 0xf7ffd7b8) = 0
- brk (0x362000) = 0
- brk (0x365000) = 0
- read (4, "#\n# Sun Host Database\n#\n# If the".., 8192) = 150
- read (4, "", 8192) = 0
- close (4) = 0
- open ("/x11r4/usr/lib/X11/XtErrorDB", 0, 0666) = -1 ENOENT (No such file or directory)
- write (2, "Error: Can't Open display\n", 26) = Error: Can't Open display
- ;; looks like it was looking in the hosttable for my display -
- ;; I wonder why.
-
- ;; BTW - xterm, xemacs, epoch, etc all work fine, so the
- ;; problem isn't xhost settings OR NIS vs hosttab.
-
- ;; Finally, I set my DISPLAY env variable to use the numeric
- ;; IP address instead of the symbolic name, and Lo! lemacs
- ;; DOES start! What gives??
-
- case 3: host pil acts exactly like host kar... except I add
- met to the local /etc/hosts...
-
- pil% lemacs -q ;; works just fine.
-
-
- Another datapoint: My coworker has no problems running lemacs from
- these machines - except via start_energize (from which lemacs bombs
- with the above infamous error message)... he's just gotten into the
- habit of starting the rest of the environment with start_energize,
- starting lemacs.
-
- What's going on here??? (and how do I fix it)
-
- My next step is to try 19.2 in hopes that something has been fixed.
-
- Thanks in advance,
- - Michael Thome (mthome@bbn.com, (617) 873-1853)
-