[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Login Shell/Profile: Stop the Madness



On Mon, Aug 23, 2004 at 04:35:21PM -0400, Daniel B. wrote:
  
> However, even ignoring that wider definition of shell with which
> you might not agree, traditional shells are still involved when
> you log in via a display manager.  If you open xterm windows,
> they're running traditional shell subprocesses, with environment
> variables inherited from somewhere.

I've followed this thread with *great* amusement. Some of the ideas have been
hilarious. The X startup files are _not_ supposed to source anything shell
related. Why? Well, it is not supposed to. It has no reason to. It's to do
with shells only.

If you invoke X via 'startx' your ~/.bash{profile,rc} files are read anyway,
and if you login via a DM, then you can either source your login files from
~/.xsession, or set environment variables there.

-- Thomas Adam

--
"Frankly, Mr. Shankly, since you ask. You are a flatulent pain in 
the arse." -- Morrissey.



Reply to: