home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22494 < prev    next >
Encoding:
Text File  |  1993-01-02  |  2.7 KB  |  66 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!math.fu-berlin.de!unidui!Germany.EU.net!urmel.informatik.rwth-aachen.de!solaris.rz.tu-clausthal.de!news!ifwsn4!riepe
  3. From: riepe@ifwsn4.ifw.uni-hannover.de (Michael Riepe)
  4. Subject: Re: 2 X problems (.xinitrc and Xview)
  5. Message-ID: <1993Jan3.002307.19971@newsserver.rrzn.uni-hannover.de>
  6. Sender: news@newsserver.rrzn.uni-hannover.de (News Service)
  7. Reply-To: riepe@ifwsn4.ifw.uni-hannover.de
  8. Organization: University of Hannover (Germany), IFW
  9. References: <lmfken.725908629@bluese2>
  10. Date: Sun, 3 Jan 1993 00:23:07 GMT
  11. Lines: 53
  12.  
  13. In article 725908629@bluese2, lmfken@lmf.ericsson.se (Kenneth Osterberg) writes:
  14. |>STDN%MARIST.bitnet@YaleVM.YCC.Yale.Edu (Dan Newcombe) writes:
  15. |>>HI all...  I am having two problems with X.  The first is that
  16. |>>X will not come up if I have a .xinitrc.   Without it, I have no
  17. |>>problems, but as soon as I create one I get the following error.
  18. |>
  19. |>>xinit:  Interrupted system call (errno 4):  Client error.
  20. |>
  21. |>>But this happens even if I comment out all of the lines in
  22. |>>.xinitrc   My .xinitrc looks like...
  23. |>>OPENWINHOME=/usr/openwin; export OPENWINHOME
  24. |>>PATH=$PATH:$OPENWINHOME/bin
  25. |>>HELPPATH=$OPENWINHOME/help; export HELPPATH
  26. |>>if  -z "$MANPATH" |; then
  27. |>>MANPATH=/usr/local/man:/usr/man; export MANPATH
  28. |>>fi
  29. |>>MANPATH=$MANPATH:$OPENWINHOME/man
  30. |>>twm &
  31. |>
  32. |>>I don't understand as all except for the last line was taken
  33. |>>straight from the README for XView, which is my next problem.
  34. |>
  35. |>The README also states that you probably lose if you use Xview apps
  36. |>without running an OpenLook compliant WM. Use olwm or olvwm.
  37. |>The OPENWINHOME stuff in your .xinitrc is needed for Xview apps, if
  38. |>you use twm you won't need any of the above. Xview apps won't work,
  39. |>of course.
  40. [other stuff deleted]
  41.  
  42. The solution seems to be much simpler - the last command in .xinitrc
  43. should ALWAYS be a foreground task. Removing the '&' after twm should
  44. keep your session alive. Anyway, olwm (or olvwm) might be a better
  45. choice (IMHO, it is).
  46.  
  47. Besides that, $HOME/.xinitrc is a *replacement* for
  48. /usr/X386/lib/X11/xinit/xinitrc (right path?) and should have the same
  49. functionality - e.g. load $HOME/.Xdefaults, start the window manager
  50. and/or an xterm etc.; just copy the system xinitrc to $HOME and modify
  51. it but don't create your own one from scratch if you don't know
  52. *exactly* what you're doing. Doing so should also solve your font
  53. problems, I think.
  54.  
  55. BTW IMHO these questions definitely belong to comp.windows.x.i386unix
  56. (not a flame, just a hint).
  57.  
  58. Michael.
  59. -- 
  60.  Michael Riepe               <riepe@ifwsn4.ifw.uni-hannover.de>
  61.  Universit"at Hannover
  62.  Institut f"ur Fertigungstechnik und Spanende Werkzeugmaschinen
  63.  Schlosswender Str. 5               W-3000 Hannover 1 (Germany)
  64.  ...life is a sexually transmitted desease !
  65.  
  66.