On Mon, Apr 30, 2001 at 10:20:35AM +0100, Fergal Daly came forth with:
> Hi all,
> has anyone else had this problem? Under Redhat 7.0 (haven't tried it with
> 7.1) and Mandrake 8.0 when I login through X, nothing sources my .login, so
> my X session knows nothing about my path or my ENV variables etc.
>I used to have games with that kind of thing, and figuring out what gets
called when is a pain.
if you're using bash, then:
for a login shell, it sources ~/.bash_profile, then ~/.profile if the first
one doesn't exist
for a non-login shell, it sources ~/.bashrc
So I find the easiest is to symlink them together, or make one source the
I'm not sure that a GNOME session considers itself a login shell, so I don't
think it'll set the right flags for bash to do that (for instance, there's
an option to make gnome-terminal a login shell by default).
So I'd be inclined to make ~/.xsession be
and make it exectuable..
Liam Bedford | Four thousand holes in Blackburn, Lancashire
Software Engineer | And though the holes were rather small
WBT Systems, Block 2, | They had to count them all
Harcourt Centre, Harcourt St. | Now they know how many holes it takes to fill
01-4170100 | The Albert Hall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!