Dominik Epple wrote:
On Tue, Jun 21, 2005 at 07:05:11AM +0100, Alan Chandler wrote:
On Tuesday 21 June 2005 06:19, Eric P wrote:
Patrick Rutkowski wrote:
On Monday 20 June 2005 10:14 pm, Eric P wrote:
Greg Folkert wrote:
2. I have a .bash_profile in my user directly, but it's not being
sourced ever. Any idea why? I tried .profile as well w/o any luck.
On my Debian unstable system running kdm as the login manager, its sourced
via /etc/kde3/kdm/Xsession (at least if you look at the script a number of
sources are tried in order for the first one the exists
Not sure how gdm does it, but it will probably be something similar.
GDM on sarge is not configured to do so. I patched its /etc/gdm/Xsession
with some code stolen from SuSE gdm Xsession (yes, we also did use this
unspeakable linux distro) the following way:
######## Xsession.patch
--- Xsession.orig 2005-06-15 12:03:32.412090512 +0200
+++ Xsession 2005-06-15 12:04:12.299026776 +0200
@@ -102,6 +102,14 @@
# good for debugging where things went wrong
echo "$0: Beginning session setup..."
+#
+# ptwap setup
+# stolen from SuSE xdm Xsession
+# the users ~/.profile
+#
+test -r ${HOME}/.profile && { . ${HOME}/.profile > /dev/null 2>&1 ; }
+set +u > /dev/null 2>&1
+
# Translation stuff
if [ -x "/usr/lib/gdm/gdmtranslate" ] ; then
gdmtranslate="/usr/lib/gdm/gdmtranslate"
######## EOF
I consider this not-sourcing-profile a bug that should be fixed for the
next release ;)
That did the trick. Thanks! I guess I wasn't smoking crack after all.
Eric P
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]