xorg-7.3 xdm ignores /etc/login.conf
[LoN]Kamikaze
LoN_Kamikaze at gmx.de
Fri Sep 14 07:01:02 PDT 2007
Since the update xdm seems to ignore environment variables set in
/etc/login.conf such as PATH or LANG. I've tried inserting
printenv > ~/.env
into my ~/.xsession and the result looks rather bleak. E.g. PATH looks like this:
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/gnu/bin:/usr/local/bin
Which seems to be some kind of xdm default. LANG is not even set.
Executing
su - $USER
leads to the correct PATH and LANG settings:
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/kamikaze/bin
LANG=en_GB.UTF-8
MM_CHARSET=UTF-8
But of course this will cast away variables like DISPLAY, so putting the line
into my .xsession is not really a satisfying solution.
Does anyone else encounter this problem? Are there any suggestions how to get
behind the reason or even a solution?
More information about the freebsd-ports
mailing list