From owner-freebsd-ports@FreeBSD.ORG Fri Sep 14 14:01:02 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3706716A417 for ; Fri, 14 Sep 2007 14:01:02 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 9606D13C45B for ; Fri, 14 Sep 2007 14:01:01 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 14 Sep 2007 14:00:59 -0000 Received: from p54A7C820.dip.t-dialin.net (EHLO mobileKamikaze.norad) [84.167.200.32] by mail.gmx.net (mp056) with SMTP; 14 Sep 2007 16:00:59 +0200 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX1/RBDku9rLR4LZaTI4/6VEs4lMn0yOoAMuymreZ1X vlBe8fDUXsu0ZF Message-ID: <46EA9419.4050402@gmx.de> Date: Fri, 14 Sep 2007 16:00:57 +0200 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.6 (X11/20070822) MIME-Version: 1.0 To: freebsd-ports@freebsd.org X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: xorg-7.3 xdm ignores /etc/login.conf X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2007 14:01:02 -0000 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?