On Mon, 2007-08-20 at 14:10 +0200, Michael Pronath wrote: > The Gnome Display Manager Reference Manual says in section > "Configuration", 6.2.1 Daemon Configuration, item "BaseXsession" that > the standard script /etc/gdm/Xsession shipped with GDM will source the > files /etc/profile, /etc/xprofile, ~/.xprofile > I observe that this does not work in the Debian package. > I'm not sure if this is a problem in gdm, or a deviation of Debian > that's not mentioned in README.Debian. With 2.18.1-2, the upstream > version of Xsession is copied to the package, says the changelog.
This was recently fixed in the Ubuntu package, https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/130941 --- /home/sa/Xsession 2007-09-03 20:40:18.000000000 +0200 +++ debian/Xsession 2007-09-03 20:38:53.000000000 +0200 @@ -102,6 +102,13 @@ ALTUSERXSESSION=$HOME/.Xsession # good for debugging where things went wrong echo "$0: Beginning session setup..." +# First read /etc/profile and .profile +test -f /etc/profile && . /etc/profile +test -f "$HOME/.profile" && . "$HOME/.profile" +# Second read /etc/xprofile and .xprofile for X specific setup +test -f /etc/xprofile && . /etc/xprofile +test -f "$HOME/.xprofile" && . "$HOME/.xprofile" + # Translation stuff if [ -x "/usr/lib/gdm/gdmtranslate" ] ; then gdmtranslate="/usr/lib/gdm/gdmtranslate" -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 760BDD22
signature.asc
Description: This is a digitally signed message part

