Date: Fri, 14 Sep 2007 16:00:57 +0200 From: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> To: freebsd-ports@freebsd.org Subject: xorg-7.3 xdm ignores /etc/login.conf Message-ID: <46EA9419.4050402@gmx.de>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46EA9419.4050402>