Bug#242507: [jirka@5z.com: Re: GDM and gnomerc]

Joel Becker Joel Becker <jlbec@evilplan.org>, 242507@bugs.debian.org
Tue, 13 Apr 2004 20:18:40 +0100


--+SfteS7bOf3dGlBC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

	This is what the upstream maintainer has to say on the subject.
The user shouldn't have to know how to properly create a .xsession that
exactly matches the system Xsession just to get their environment
working.  Never mind that, once the user figures out how to make their
.xsession look like Xsession, the next release of the debian package
changes Xsession, and the user is now broken.  And by environment, I
mean things like $VISUAL, $HTTP_PROXY, and anything else the sysadmin
might set in /etc/profile.  Language settings aren't the only thing out
there.

Joel

-- 

"Hell is oneself, hell is alone, the other figures in it, merely projections."
        - T. S. Eliot

			http://www.jlbec.org/
			jlbec@evilplan.org

--+SfteS7bOf3dGlBC
Content-Type: message/rfc822
Content-Disposition: inline

Received: from shill.xcf.berkeley.edu ([128.32.112.247] helo=wilber.gimp.org)
	by www.linux.org.uk with esmtp (Exim 4.22)
	id 1BDS0A-0007Z0-BW
	for jlbec@parcelfarce.linux.theplanet.co.uk; Tue, 13 Apr 2004 18:47:14 +0100
Received: from zinc.5z.com ([69.44.58.48])
	by wilber.gimp.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BDS08-0000gy-00
	for <jlbec@evilplan.org>; Tue, 13 Apr 2004 10:47:12 -0700
Received: from zinc.5z.com (localhost [127.0.0.1])
	by zinc.5z.com (8.12.3/8.12.3/Debian-6.6) with ESMTP id i3DHlBG9019809;
	Tue, 13 Apr 2004 17:47:11 GMT
Received: from localhost (localhost [[UNIX: localhost]])
	by zinc.5z.com (8.12.3/8.12.3/Debian-6.6) id i3DHl7c5019802;
	Tue, 13 Apr 2004 17:47:07 GMT
Date: Tue, 13 Apr 2004 10:47:05 -0700
From: George <jirka@5z.com>
To: Joel Becker <jlbec@evilplan.org>
Cc: gdm@sunsite.dk
Subject: Re: GDM and gnomerc
Message-ID: <20040413174705.GA19502@pipina.5z.com>
References: <20040412221607.GT19969@parcelfarce.linux.theplanet.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040412221607.GT19969@parcelfarce.linux.theplanet.co.uk>
User-Agent: Mutt/1.4.1i

[ccing the gdm list]

On Mon, Apr 12, 2004 at 11:16:09PM +0100, Joel Becker wrote:
> George,
> 	Since Google and bugzilla have nothing to say, I'm going to ask
> you.  A while back, GDM stopped passing environment variables into the
> Gnome session.  Both /etc/profile and $HOME/.profile were not getting
> run.  The solution was to put '. /etc/profile; . $HOME/.profile' in
> .gnomerc.  I did that, and I was happy.  Now, that doesn't seem to be
> working either.  Instead, I'm using 2.4.4.7 of GDM (Debian unstable) and
> no environment variables make it to my desktop.
> 	What is the 2.4.4.7 method?

Look at the Xsession script being used (see BaseXsession script config
variable).  It is the responsibility of the Xsession script to source
/etc/profile and $HOME/.profile, it is possible (likely) that debian is not
doing this correctly.  KDM now works in the same way btw.  The standard
Xsession script as shipped with gdm should be correct, but most distributions
for whatever reasons choose to use home baked scripts.

George

-- 
George <jirka@5z.com>
   If all economists were laid end to end, they would not reach a conclusion.
                       -- George Bernard Shaw

--+SfteS7bOf3dGlBC--