Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mike@raven.uss.tek.com (Mike Ewan)
Subject: Re: whither .login with Xprompter/dxsession on DS5000
Date: 30 Jan 91 17:00:44 GMT	[thread overview]
Message-ID: <7257@tekgen.BV.TEK.COM> (raw)
In-Reply-To: 34338@fmsrl7.UUCP

In article <34338@fmsrl7.UUCP>, pms415!reso@fmsrl7.srl.ford.com (Dennis M. Reso) writes:
|> 
|> I am using Ultrix 4.1 on a DECstation 5000, UWS version 4.1
|> with the following in /etc/ttys to start the X server and
|> hang the Xprompter on the console instead of getty:
|> 
|>   :0 "/usr/bin/login -P /usr/bin/Xprompter \
|>       -C /usr/bin/dxsession" none on secure \
|>       window="/usr/bin/Xtm -bs -su"
|> 
|> I would assume that somewhere along the line, a login csh
|> will get exec'd by /bin/login, and read the $HOME/.login
|> file for csh users. But this doesn't happen. The .login
|> file is ignored.

     The only shells that start are in (d)xterms.  I'm assuming that you
     have some environment variables set in .login that you want set globally
     for the session.
 
|> One can always use the "-ls" flags with dxterm, for example,
|> to get the environment (or put everything in .cshrc).  But
|> what of a single process that one would like to background
|> at login: you don't want one for every window you start
|> with "dxterm -ls".

      What I would do is replace the call to /usr/bin/dxsession in /etc/ttys
      with a csh script that sources the user's .cshrc and .login then
      exec's dxsession.
 
|> The MWM window manager seems no better behaved than dxwm.
|> Is there something I'm missing in the above ttys line?
      
      It's not the resposibility of the window manager to set up the 
      environment.  It just passes the environment in which it starts
      on to the clients.
 
Mike

-- 
 Michael Ewan    (503)627-6468      Internet:  mike@raven.USS.TEK.COM
 Unix Systems Support                   UUCP:  ...!uunet!raven.uss.tek.com!mike
 Tektronix, Inc.                  Compuserve:  73747,2304
"Fig Newton: The force required to accelerate a fig 39.37 inches/sec."--J. Hart


  reply	other threads:[~1991-01-30 17:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-01-29 22:05 whither .login with Xprompter/dxsession on DS5000 Dennis M. Reso
1991-01-30 17:00 ` Mike Ewan [this message]
1991-01-30 20:50 ` Eliot Moss
1991-01-31 13:47   ` Frederick M. Avolio
1991-02-01 16:33   ` Jay Vassos-Libove
1991-02-02  0:38     ` was " Jamie Mazer
1991-02-03 16:57     ` Mike Ewan
1991-01-30 22:49 ` Jim Hudgens
1991-01-31  5:20 ` Bent Nielsen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox