home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.ultrix:6835 comp.windows.x:16546
- Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsc!cbfsb!att-out!pacbell.com!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!news.crl.dec.com!amber!cavedog.athena.lkg.dec.com!mamros
- From: mamros@athena.lkg.dec.com (Shawn Mamros)
- Newsgroups: comp.unix.ultrix,comp.windows.x
- Subject: Re: help - DEC.5000 / twm / .X11Startup
- Message-ID: <43017@athena.lkg.dec.com>
- Date: 11 Sep 92 14:07:05 GMT
- References: <1992Sep9.100638.8758@vax.oxford.ac.uk> <BuCI2t.MnL@cs.psu.edu> <1992Sep11.100340.4652@fys.ruu.nl> <BuF1Mw.2ou@cs.psu.edu>
- Sender: mamros@cavedog.athena.lkg.dec.com (Shawn Mamros)
- Reply-To: mamros@athena.lkg.dec.com (Shawn Mamros)
- Organization: Digital Equipment Corporation
- Lines: 20
-
-
- If you don't want to use the Session Manager, take a look at the man page
- for login(1). You'll see the following:
-
- -C string Allows the system to specify a command to be run
- using the user's shell. This option causes a user
- shell -c string to be exec'ed.
-
- Then take a look at the :0 entry for /etc/ttys, and you'll see something
- like the following:
-
- :0 "/usr/bin/login -P /usr/bin/Xprompter -C /usr/bin/dxsession -e" none on secur
- e window="/usr/bin/Xws"
-
- Given those two pieces of information, it's fairly easy to use "something
- else" in place of /usr/bin/dxsession in the :0 ttys entry, where, once
- "something else" exits, then the login session is terminated.
-
- -Shawn Mamros
- E-mail to: mamros@athena.lkg.dec.com
-