home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22366 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  2.8 KB

  1. Path: sparky!uunet!spool.mu.edu!think.com!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!ericom!lmfken
  2. From: lmfken@lmf.ericsson.se (Kenneth Osterberg)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: 2 X problems (.xinitrc and Xview)
  5. Message-ID: <lmfken.725908629@bluese2>
  6. Date: 1 Jan 93 17:17:09 GMT
  7. References: <9212311749.AA05918@deepthought.cs.utexas.edu>
  8. Sender: news@ericsson.se
  9. Organization: Oy LM Ericsson Ab, Jorvas, Finland
  10. Lines: 55
  11. Nntp-Posting-Host: bluese2.lmf.ericsson.se
  12.  
  13. STDN%MARIST.bitnet@YaleVM.YCC.Yale.Edu (Dan Newcombe) writes:
  14. >HI all...  I am having two problems with X.  The first is that
  15. >X will not come up if I have a .xinitrc.   Without it, I have no
  16. >problems, but as soon as I create one I get the following error.
  17.  
  18. >xinit:  Interrupted system call (errno 4):  Client error.
  19.  
  20. >But this happens even if I comment out all of the lines in
  21. >.xinitrc   My .xinitrc looks like...
  22. >OPENWINHOME=/usr/openwin; export OPENWINHOME
  23. >PATH=$PATH:$OPENWINHOME/bin
  24. >HELPPATH=$OPENWINHOME/help; export HELPPATH
  25. >if  -z "$MANPATH" |; then
  26. >MANPATH=/usr/local/man:/usr/man; export MANPATH
  27. >fi
  28. >MANPATH=$MANPATH:$OPENWINHOME/man
  29. >twm &
  30.  
  31. >I don't understand as all except for the last line was taken
  32. >straight from the README for XView, which is my next problem.
  33.  
  34. The README also states that you probably lose if you use Xview apps
  35. without running an OpenLook compliant WM. Use olwm or olvwm.
  36. The OPENWINHOME stuff in your .xinitrc is needed for Xview apps, if
  37. you use twm you won't need any of the above. Xview apps won't work,
  38. of course.
  39.  
  40. >I had this problem before and I did something that made it
  41. >work.  Only problem is I don't know what I did.  Anyway,
  42. >when I enter all the commands in my .xinitrc by hand
  43. >and run olwm instead of twm, XView starts up.  My background
  44. >turns blue and it opens a window that has a width of half the
  45. >screen and seems to go on forever lengthwise.  I can grab the
  46. >handles and window and reposition and resize it, but that's about
  47. >it.  Also, it I click my right mouse button for my control
  48. >panel, all I get is a white line about 1" thick that goes the
  49. >length of the whole screen.  When I ran olwm these are the
  50. >errors I got.  Sorry it's so long but I'd rather be complete.
  51. >any help is very needed.  Thanks, and happy new year...
  52. [errmsgs deleted...]
  53.  
  54. Probably some kind of configuration error. Check out the .Xdefaults
  55. and .openwin-menu in your home directory, try renaming them (if you
  56. have them). If there is still a problem, look in
  57. /usr/openwin/lib/openwin-menu, get the default ones from the xview package
  58. if necessary. 
  59.  
  60. The error messages you listed could mean you have a font problem. Try
  61. running mkfontdir in all font directories (/usr/X386/fonts/*).
  62.  
  63. Hope something of this helps...
  64.  
  65. /Kenneth
  66. --
  67. Kenneth Osterberg      lmfken@lmf.ericsson.se or lmfken@bluese1.ericsson.fi
  68.