Path: utzoo!attcan!sobmips!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!decwrl!shlump.nac.dec.com!riscy.dec.com!fuel.dec.com!graham From: graham@fuel.dec.com (kris graham) Newsgroups: comp.windows.x Subject: Re: dwt Message-ID: <1518@riscy.dec.com> Date: 16 Nov 89 14:49:07 GMT References: <8911160213.AA00374@ramona.ncd.com> <8911152224.AA14966@fermat.Mayo.edu> Sender: news@riscy.dec.com Lines: 56 >> Being a neophyte in X, I have to ask this question: how does one set up >> the .Xdefaults file to NOT startup the DEC session manager and instead > > startup something else (ie xsh). > > > (Disclaimer - I obviously cannot speak for DEC, and am assuming that my > friends there will correct any gross or not so gross errors in the following). > > This is not really an Xdefaults question. The session manager is > getting started from /etc/ttys. You should have a line that looks like: > > :0 "/usr/bin/login -P /usr/bin/Xprompter -C /usr/bin/dxsession" ... > > Xprompter puts up the DIGITAL banner and the login window, and then the > session manager (dxsession) is kicked off once the password validation > is complete. The session manager starts up the window manager, (dxwm), > and (optionally) starts a fileview and terminal window. > > If you wish to use the login process, and pick an alternative start up > state, you could experiment with replacing the '/usr/bin/dxsession' in > /etc/ttys. I have done such a thing with some simple shell scripts to > get all of this working for remote servers (NCD X displays, in this > case), with reasonable success. > > Doug > klein@ncd.com The following ideas are *unsupported* by Digital ;^) You could try setting up /etc/ttys *not* to use :0 "/usr/bin/login -P /usr/bin/Xprompter -C /usr/bin/dxsession" none on secure window="/usr/bin/Xqvsm -fd 75 " For the VAXstations, try: ttyv0 "/usr/bin/xterm -L -sb -rv -geometry =80x24+195+275 -d unix:0" xterm on secure window="/usr/bin/Xqvsm -fd 75 0" Logging via an xterm is not a good idea, so try something like xdm or xsh. The -L option is unsupported . To get the same effect on RISC (DECstations) machines, try: mv /dev/ttypf /dev/ttyv0 mv /dev/ptypf /dev/ptyv0 The end result should make it work just like the VAXstation /etc/ttys entry. Swapping different/matching pairs of tty and pty should work fine. Christopher Graham Digital Equipment Corp Ultrix Resource Center New York City