home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / ultrix / 6835 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  1.6 KB

  1. Xref: sparky comp.unix.ultrix:6835 comp.windows.x:16546
  2. 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
  3. From: mamros@athena.lkg.dec.com (Shawn Mamros)
  4. Newsgroups: comp.unix.ultrix,comp.windows.x
  5. Subject: Re: help - DEC.5000 / twm / .X11Startup
  6. Message-ID: <43017@athena.lkg.dec.com>
  7. Date: 11 Sep 92 14:07:05 GMT
  8. References: <1992Sep9.100638.8758@vax.oxford.ac.uk> <BuCI2t.MnL@cs.psu.edu> <1992Sep11.100340.4652@fys.ruu.nl> <BuF1Mw.2ou@cs.psu.edu>
  9. Sender: mamros@cavedog.athena.lkg.dec.com (Shawn Mamros)
  10. Reply-To: mamros@athena.lkg.dec.com (Shawn Mamros)
  11. Organization: Digital Equipment Corporation
  12. Lines: 20
  13.  
  14.  
  15. If you don't want to use the Session Manager, take a look at the man page
  16. for login(1).  You'll see the following:
  17.  
  18.      -C string           Allows the system to specify a command to be run
  19.                          using the user's shell.  This option causes a user
  20.                          shell -c string to be exec'ed.
  21.  
  22. Then take a look at the :0 entry for /etc/ttys, and you'll see something
  23. like the following:
  24.  
  25. :0 "/usr/bin/login -P /usr/bin/Xprompter -C /usr/bin/dxsession -e" none on secur
  26. e window="/usr/bin/Xws"
  27.  
  28. Given those two pieces of information, it's fairly easy to use "something
  29. else" in place of /usr/bin/dxsession in the :0 ttys entry, where, once
  30. "something else" exits, then the login session is terminated.
  31.  
  32. -Shawn Mamros
  33. E-mail to: mamros@athena.lkg.dec.com
  34.