Bug#242507: [jirka@5z.com: Re: GDM and gnomerc]
Joel Becker
Joel Becker <jlbec@evilplan.org>, 242507@bugs.debian.org
Wed, 14 Apr 2004 01:03:24 +0100
On Tue, Apr 13, 2004 at 04:02:31PM -0700, Ryan Murray wrote:
> errr, the system Xsession scripts are still called before your .xsession,
> in the same way that happens whether you start X with startx, gdm, or xdm.
> This means that your .xsession only needs to start your window manager.
But I'm a dumb user. I just know that GNOME starts. I don't
know that I'm supposed to call gnome-session, or kde-session, or
x-session-manager in Debian. Why should I have to know?
> /etc/profile is a sh-like login shell startup script, not a list of
> environment variables to be set at login. For a list of environment
> variables, try the /etc/environment PAM configuration file, which will work
> correctly no matter what your login shell is, or how you login.
But environment is often set based on programmatic logic. I
can't be sure, as I have no /etc/environment here (and no manpage), but
I suspect that /etc/environment is supposed to be var=value, and I don't
know if it is executable.
Also, I, as a user, set my VISUAL, EDITOR, MAIL, etc in my
.profile. I should have to know about gnome-session (the program, not
the idea) just to get that? I should pray that my .xsession works on my
network homedir across multiple distros, just because of that?
Joel
--
"You must remember this:
A kiss is just a kiss,
A sigh is just a sigh.
The fundamental rules apply
As time goes by."
http://www.jlbec.org/
jlbec@evilplan.org