From owner-freebsd-x11@FreeBSD.ORG Mon Jun 4 13:51:54 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3134C16A476 for ; Mon, 4 Jun 2007 13:51:54 +0000 (UTC) (envelope-from neil@hoggarth.me.uk) Received: from fallback0.mail.ox.ac.uk (fallback0.mail.ox.ac.uk [129.67.1.175]) by mx1.freebsd.org (Postfix) with ESMTP id EB51113C46E for ; Mon, 4 Jun 2007 13:51:53 +0000 (UTC) (envelope-from neil@hoggarth.me.uk) Received: from relay5.mail.ox.ac.uk ([163.1.2.163]) by fallback0.mail.ox.ac.uk with esmtp (Exim 4.62) (envelope-from ) id 1HvCFC-0005nI-2A for freebsd-x11@freebsd.org; Mon, 04 Jun 2007 14:05:10 +0100 Received: from smtp2.mail.ox.ac.uk ([163.1.2.205]) by relay5.mail.ox.ac.uk with esmtp (Exim 4.62) (envelope-from ) id 1HvCF0-0006Wc-GG; Mon, 04 Jun 2007 14:04:58 +0100 Received: from saros.physiol.ox.ac.uk ([163.1.249.131]) by smtp2.mail.ox.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HvCEz-0001Pj-91; Mon, 04 Jun 2007 14:04:57 +0100 Date: Mon, 4 Jun 2007 14:04:57 +0100 (BST) From: Neil Hoggarth X-X-Sender: njh@saros.physiol.ox.ac.uk To: Dmitry Marakasov In-Reply-To: <20070602210158.GA985@hades.panopticon> Message-ID: References: <20070602210158.GA985@hades.panopticon> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Oxford-Username: itss0076 Cc: freebsd-x11@freebsd.org Subject: Re: xorg 7.2 & environment variables set in login.conf X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 13:51:54 -0000 On Sun, 3 Jun 2007, Dmitry Marakasov wrote: > I have a problem after update to 7.2: the environment variables set in > login.conf (for example, LANG for russian class) are no longer > propagated to X apps I launch after I log in to X (now I have to > explicitely export those in ~/.xsession). Why's this behavior changed > and how to make environment set up automatically like before? > > FreeBSD 6.1-RELEASE-p12, latest ports, X is launched via xdm (enabled > in /etc/ttys). There was an xdm patch that was previously applied to the xorg-clients package, which hasn't been included in the new seperate xdm package for xorg-7.2. I opened a PR about this last week (ports/112932), and that PR includes a version of the patch, if you want to try adding it to your own ports tree: http://www.freebsd.org/cgi/query-pr.cgi?pr=112932&getpatch=1 (save the patch in the directory "/usr/ports/x11/xdm/files", rebuild and install the xdm port, restart xdm or reboot). Regards, Neil.