Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2007 18:23:44 +0300
From:      Mykola Dzham <freebsd@levsha.org.ua>
To:        "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: xorg-7.3 xdm ignores /etc/login.conf
Message-ID:  <20070921152344.GL30765@expo.ukrweb.net>
In-Reply-To: <46EA9419.4050402@gmx.de>
References:  <46EA9419.4050402@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
 [LoN]Kamikaze wrote:
> 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?

I hawe same problem after upgrade xdm.

-- 
Mykola Dzham, LEFT-(UANIC|RIPE)
JID: levsha@jabber.net.ua



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070921152344.GL30765>