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

Re: No sourcing of ~/.profile at login



On Wed, 2003-09-17 at 09:56, Daniel B. wrote:
> Paul Smith wrote:
> > 
> > .. If you're using a graphical login manager like GDM or
> > XDM, then these methods of login never actually invoke a login shell,
> 
> Why not?  (Why shouldn't logging in via GDM execute your login-time
> shell initialization?)
> 

That's the default behaviour. See Xsession (under /etc/X11/*)
Change the first line "#!/bin/bash" to "#!/bin/bash --login"

Then all the talk about .bash_profile, .profiles, ... comes into play.

Regards,
Ashish.


 ------------------------------------------------------------------
| I keep on working for the same reason a hen keeps on laying eggs.|
 ------------------------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: