[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 20:31, David List wrote:
> On Wed, 17 Sep 2003, Ashish Ariga wrote:
> 
> >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.
> 
> Umm...didn't get that. The first line in my /etc/X11/Xsession says
> #!/bin/sh.
    ^^^^^^^
You can (safely?) change it to bash with --login option.



 ------------------------------------------------------------------
| 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: