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

Re: $PATH and /etc/profile



Sam Halliday wrote:

...

it IS differnet. if you start from the console, you should really do
> `startx &` to detach from the console and allow you to continue working
> on the console and X; hence 2 logins.

No.  That's not 2 logins.  It's two things (a console shell and
a whole X session) spawned from the same login:

You logged in once.  Your login-time settings were set once.  You might
have changed some environment variables from your login default before
you started X (or when you started X, as in "SOME_VAR=somevalue startx &").

You don't necessarily want starting X to re-apply your login-time
settings when you start X when you have already logged in.

Daniel










Reply to: