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