From: mike@tekgen.BV.TEK.COM (Mike Ewan)
Subject: Re: whither .login with Xprompter/dxsession on DS5000
Date: 3 Feb 91 16:57:19 GMT [thread overview]
Message-ID: <7275@tekgen.BV.TEK.COM> (raw)
In-Reply-To: LIBOVE.91Feb1113344@libove.det.dec.com
In article <LIBOVE.91Feb1113344@libove.det.dec.com> libove@libove.det.dec.com (Jay Vassos-Libove) writes:
>I believe that this thread is relevant to something I tracked down in
>the source code a while back...
>
>When a user logs in to a unix system the shell that gets started up
>is usually a "login" shell, which is very closely defined by how it
>is started up. It turns out that it is not possible to get a shell to
>be a "login" shell _underneath_ the X Session Manager under the Ultrix
>Worksystem Software and therefore have all applications inherit a path,
>environment variables, etc.
[stuff deleted]
However, if you run xdm instead of Xprompter you can do something like
the following and assuming xdm runs a csh script called ~/.xsession:
In ~/.xsession:
!#/bin/csh
source .csh_env
dxsession
In .csh_env put all your appropriate setenv's. If you start mwm and
a dxterm in .xsession instead of dxsession, mwm will inherit the
environment. I don't know for sure that dxsession will but I believe
so.
Mike
next prev parent reply other threads:[~1991-02-03 16:57 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
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 [this message]
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