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. Bob
signature.asc
Description: Digital signature