Bug#289378: gdm does not load user startup files on login
Kiro Zimmer
Kiro Zimmer <debian@kironet.de>, 289378@bugs.debian.org
Sat, 8 Jan 2005 21:53:24 +0100
Package: gdm
Version: 2.6.0.4-1
gdm does not load user startup files (.xclients .xsession .xinitrc),
so it is not possible to set any user specific environment-varialbles.
i use debian sid kernel 2.6.8 i686 with libc6 2.3.2.ds1-20.
the following patch solved the problem for me:
--- /etc/gdm/Xsession.original 2005-01-08 20:59:01.000000000 +0100
+++ /etc/gdm/Xsession 2005-01-08 21:00:46.000000000 +0100
@@ -97,11 +97,20 @@
SYSSESSIONDIR=/etc/X11/Xsession.d
USERXSESSION=$HOME/.xsession
ALTUSERXSESSION=$HOME/.Xsession
+USERXCLIENTS=$HOME/.xclients
+ALTUSERXCLIENTS=$HOME/.Xclients
# this will go into the .xsession-errors along with all other echo's
# good for debugging where things went wrong
echo "$0: Beginning session setup..."
+if [ -f $USERXCLIENTS ] ; then
+ . $USERXCLIENTS
+fi
+if [ -f $ALTUSERXCLIENTS ] ; then
+ . $ALTUSERXCLIENTS
+fi
+
# Translation stuff
if [ -x "/usr/lib/gdm/gdmtranslate" ] ; then
gdmtranslate="/usr/lib/gdm/gdmtranslate"