home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / sysv386 / 17424 < prev    next >
Encoding:
Text File  |  1992-12-15  |  3.4 KB  |  83 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsk!cbnewsj!dwex
  3. From: dwex@cbnewsj.cb.att.com (david.e.wexelblat)
  4. Subject: Re: configuring xdm on Dell 2.2
  5. Organization: AT&T
  6. Date: Tue, 15 Dec 1992 21:27:49 GMT
  7. Message-ID: <1992Dec15.212749.16460@cbnewsj.cb.att.com>
  8. References: <BzBCtJ.u9@ra.nrl.navy.mil> <BzBGK4.4A1@csi.compuserve.com>
  9. Lines: 72
  10.  
  11. In article <BzBGK4.4A1@csi.compuserve.com> sam@csi.compuserve.com (Sam Neely) writes:
  12. > In article <BzBCtJ.u9@ra.nrl.navy.mil> solsman@ra.nrl.navy.mil (Mark Solsman) writes:
  13. > >Hello-
  14. > >
  15. > >Seems that I have been elected to try and figure this out :(
  16. > >
  17. > >Seems that DELL did a very nice job of configuring the xdm for you, they
  18. > >even set up all of your files for you!!! :)
  19. > >
  20. > >However, I must have missed where it tells you how to get the thing to execute
  21. > >upon startup.  Am I supposed to place it in /etc/rc2.d ??  Does anyone use this?
  22. > Just a guess -- I'm sure you'll get a more authoritative answer from
  23. > someone else --  I would think that you'd have to disable the ttymon
  24. > process on /dev/console and replace it with the xdm.  sacadm(1) comes
  25. > to mind as a place to look.
  26.  
  27. Unless Dell has done something odd, there's no reason to do this.  The
  28. X server runs on a VT, not on the console.  What I use for Microport SVR4
  29. (which I assume will work for Dell as well) is to have a script in
  30. /etc/init.d, called Xdm.  Model it on the other files, with a start and
  31. stop case.  The start case has essentially the following:
  32.  
  33.     if [ ! -f <xdm-lib-dir>/.badexit ]
  34.     then
  35.         touch <xdm-lib-dir>/.badexit
  36.         xdm
  37.     fi
  38.  
  39. And the stop case has
  40.  
  41.     kill `cat <xdm-lib-dir>/xdm-pid`
  42.     rm -f <xdm-lib-dir>/.badexit
  43.  
  44. Then link this to /etc/rc2.d/S??xdm and /etc/rc0.d/K??xdm.  For ?? I used
  45. something in the 80's.
  46.  
  47. Sorry I can't send the real script - it's on my machine at home, and I can't
  48. get to it because the phone lines are still out due to the storm last
  49. weekend.
  50.  
  51. You can probably ignore the .badexit stuff, unless you are doing server
  52. development (as I am :->).  In that case, it's a godsend, keeping xdm from
  53. looping forever, trying to start the server, in those rare (;->) instances
  54. where you manage to bolux up the server.
  55.  
  56. > >Thanks in advance!
  57. > >
  58. > >-- 
  59. > >Mark Solsman                                 Building 1, Code 5160
  60. > >United States Naval Research Laboratory      solsman@ra.nrl.navy.mil
  61. > >Washington, DC                               (202) 767-5769
  62. > -- 
  63. > Sam Neely, CompuServe Incorporated                  +1 614 457 8600 (voice)
  64. > 5000 Arlington Centre Blvd, Columbus, OH  43220     +1 614 457 0348 (FAX)
  65. > Electronic Mail:  InfoPlex: >CSI:SAM      Internet: sam@csi.compuserve.com
  66. > To err is human, to forgive is against company policy
  67.  
  68. One note for xdm users - unless Dell has fixed a rather nasty little bug
  69. in xdm (which I doubt), you may not be able to use XDM-AUTHORIZATION-1
  70. authentication (it may screw up boards on your bus, or even lock up the bus).  
  71. I sent the fix to MIT, but it has yet to appear in a public fix (if anyone
  72. wants it, the fix is in XFree86, or I can send you a source patch - send
  73. me email).
  74.  
  75. --
  76. David Wexelblat <dwex@mtgzfs3.att.com>  (908) 957-5871
  77. AT&T Bell Laboratories, 200 Laurel Ave - 3F-428, Middletown, NJ  07748
  78.  
  79. "The meaning of life?  That's simple.  Try to be happy, try not to hurt
  80.  other people, and hope to fall in love."  -- Mallory Keaton
  81.