home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / alt / lucidem / help / 259 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  2.7 KB

  1. Message-ID: <9208131455.AA19796@lucid.com>
  2. Subject: Yet another "DISPLAY"-problem
  3. Date: Thu, 13 Aug 1992 10:55:12 -0400
  4. From: mthome@BBN.COM
  5. Newsgroups: alt.lucid-emacs.help
  6. Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
  7. Sender: help-lucid-emacs-request@lucid.com
  8. Lines: 67
  9.  
  10.     I'm having trouble getting lemacs to work: here are the
  11. symptoms (please read them all before telling me about the v18 vs v19
  12. elisp directories)...
  13.     
  14.     lemacs version 19.0 (came with our release of energize)
  15. installed on /nfs/kar/u2/cadillac/lemacs/, nfs mounted via the same
  16. path on two other machines, pil and met.  DISPLAY set to
  17. met:0.0.  EMACSLOADPATH environment var not set.  "which lemacs"
  18. returns /nfs/kar/u2/cadillac/lemacs/lemacs on all three machines.
  19. All three machines are Sun4s running SunOS 4.1.2.
  20.  
  21. case 1: 
  22.     met% lemacs -q           ;; everything comes up fine -
  23.                     ;; for that matter lemacs w/out
  24.                     ;; -q works great.
  25.  
  26. case 2:
  27.     kar% lemacs -q        
  28.     Error: Can't Open display
  29.     ;; hmm - maybe it can't find the elisp files...
  30.  
  31.     kar% cd /nfs/kar/u2/cadillac/lemacs
  32.     kar% ./lemacs -q
  33.     Error: Can't Open display
  34.     ;; hmm - is it even trying the right files?
  35.     kar% trace lemacs -q |& more
  36.     ;; lots of stuff, including many successful stat()'s and read()'s
  37.     ;; of /nfs/kar/u2/cadillac/lemacs/lisp/...
  38.     ;; The trace finishes up with the following interesting calls:
  39. open ("/etc/hosts", 0, 0666) = 4
  40. ioctl (4, 0x40125401, 0xf7ffd744) = -1 ENOTTY (Inappropriate ioctl for device)
  41. fstat (4, 0xf7ffd7b8) = 0
  42. brk (0x362000) = 0
  43. brk (0x365000) = 0
  44. read (4, "#\n# Sun Host Database\n#\n# If the".., 8192) = 150
  45. read (4, "", 8192) = 0
  46. close (4) = 0
  47. open ("/x11r4/usr/lib/X11/XtErrorDB", 0, 0666) = -1 ENOENT (No such file or directory)
  48. write (2, "Error: Can't Open display\n", 26) = Error: Can't Open display
  49.     ;; looks like it was looking in the hosttable for my display -
  50.     ;; I wonder why.
  51.  
  52.     ;; BTW - xterm, xemacs, epoch, etc all work fine, so the
  53.     ;; problem isn't xhost settings OR NIS vs hosttab.  
  54.     
  55.     ;; Finally, I set my DISPLAY env variable to use the numeric
  56.     ;; IP address instead of the symbolic name, and Lo! lemacs
  57.     ;; DOES start!  What gives??
  58.  
  59. case 3:  host pil acts exactly like host kar... except I add
  60.     met to the local /etc/hosts...
  61.  
  62.     pil% lemacs -q         ;; works just fine.
  63.  
  64.  
  65. Another datapoint: My coworker has no problems running lemacs from
  66. these machines - except via start_energize (from which lemacs bombs
  67. with the above infamous error message)... he's just gotten into the
  68. habit of starting the rest of the environment with start_energize,
  69. starting lemacs.
  70.  
  71. What's going on here??? (and how do I fix it)
  72.  
  73. My next step is to try 19.2 in hopes that something has been fixed.
  74.  
  75. Thanks in advance,
  76.     - Michael Thome (mthome@bbn.com, (617) 873-1853)
  77.