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

Re: $PATH problem

On 7/11/05, Bob Proulx <bob@proulx.com> wrote:
> L.V.Gandhi wrote:
> > Bob Proulx wrote:
> > > Are you logging in with a graphical login manager such as kdm, gdm, or
> > > xdm?  If so then read this note:
> > >
> > >   http://lists.debian.org/debian-user/2005/06/msg03761.html
> > >
> > > I am sure that is the same problem you are seeing.
> >
> > But How about /etc/profile. Whether anything regarding path given
> > there is universal or kdm login throw that also out of gear. I was
> > mandrake user. Recently switched over to debian.
> /etc/profile is the same as $HOME/.bash_profile.  Neither are read
> unless the shell is a login shell.  If the shell is a login shell then
> both are read.  Read that note I pointed to and it will explain much.
> I don't know how Mandrake handles this.  Debian has previously done
> exactly what the upstream does and nothing more.  It appears that
> other distros patch the upstream code to handle this case.  SuSE
> forcibly sources ~/.profile and redirects all errors to /dev/null.  I
> think that is bad.  Red Hat does it right here by starting your shell
> as a login shell.
> Setting up ~/.xsession as described in the messages I references seems
> like the best answer.
Thanks for the reply. However it talks of only profile. Whether only
the problem is with profile files or for bashrc files also. May be I
am unable to understand. excuse me.

linux user No.205042

Reply to: