xorg-7.3 xdm ignores /etc/login.conf

Mykola Dzham freebsd at levsha.org.ua
Fri Sep 21 08:54:36 PDT 2007


 [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 at jabber.net.ua


More information about the freebsd-ports mailing list