A question about login shells
junk_mail at iol.ie
Tue Aug 23 02:28:20 PDT 2005
Recently, Somebody Somewhere wrote these words
> Hello, So I followed the BLFS 6.0 procedure and I have an unexpected
> environment "detail". When I login via a VT, I get the usual shell
> with a prompt like
> wizard:~ [ksomervi] $
> per the setting of PS1 as expected. However, when I startx or login
> through xdm to twm or xfce, any terminal window launched shows a
> prompt like
> which isn't what I expected. Poking around, it's clear that the
> profile scripts are not being sourced, that is, I don't get an
> interactive login shell like I would expect. To work around this, I
> set 'XTerm*loginShell: True' in my .Xdefaults file, but I'm wondering
> if I've goofed something up along the way.
> Any suggestions or explanations for this behavior?
Xterm looks at ~/bashrc, the consoles look at ~/.bash_profile
As for improving the behaviour, start a new thread for a new problem :-)
and don't "reply" to an ongoing one.
With best Regards,
More information about the blfs-support