Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!ucsd!nosc!dog.ee.lbl.gov!hellgate.utah.edu!csn!boulder!news!grunwald From: grunwald@foobar.colorado.edu (Dirk Grunwald) Newsgroups: comp.unix.ultrix Subject: Re: DECwindows Session manager (was: Re: Ultrix 4.2) Message-ID: <1991Jun27.044621.8840@colorado.edu> Date: 27 Jun 91 04:46:21 GMT References: <1991Jun20.234113.12858@cunixf.cc.columbia.edu> <1991Jun25.122442.12089@crl.dec.com> <1991Jun26.135128.19270@applga.aa.cad.slb.com> Sender: news@colorado.edu (The Daily Planet) Reply-To: grunwald@foobar.colorado.edu Organization: University of Colorado at Boulder Lines: 29 In-Reply-To: dsmith@applga.aa.cad.slb.com's message of 26 Jun 91 13:51:28 GMT Nntp-Posting-Host: foobar.colorado.edu re: not running DEC session manager I used to use 'xdm' and simply commented out the line in /etc/ttys, but that left a (to me) useless xdm process running on my machine. I don't mind the xpompter login because I don't login in very often (I stay logged in for > 2 weeks usually). Also, I didn't want to figure out *yet another* way of starting up X. 'xinit', 'xdm' and DEC's xsession all look in different .Xdefault/.xinit, etc files. So, I added this to /etc/ttys: :0 "/usr/bin/login -P /usr/bin/Xprompter -C /usr/local/lib/X11/xdm/Xsession.xprompter" none on secure window="/usr/bin/Xmfb" -fd 75 c 70 Note that I'm on a MFB, but you can make the obvious change. Now, /usr/local/lib/X11/xdm/Xsession.xprompter contains this: #!/bin/csh setenv DISPLAY "unix:0" exec /usr/local/lib/X11/xdm/Xsession >& /tmp/login-msg.$$ this then starts up my login session as if I was coming through via 'xdm', but doesn't leave the xdm process running. This appears to work very well.