From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NJwX2-0006wA-CB for garchives@archives.gentoo.org; Sun, 13 Dec 2009 22:03:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE483E08AD; Sun, 13 Dec 2009 22:02:16 +0000 (UTC) Received: from mail-pz0-f174.google.com (mail-pz0-f174.google.com [209.85.222.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 8FB6FE08AD for ; Sun, 13 Dec 2009 22:02:16 +0000 (UTC) Received: by pzk4 with SMTP id 4so1720182pzk.32 for ; Sun, 13 Dec 2009 14:02:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=mI8cqsuoCCQsYMC3woMKjohMWDIbJL+Ge6OxUgaj3Eg=; b=B+Ie5JY8U3CmHYbFwhjgHxymTCcsQ7erA7+OBSt++eLIdxsN47Fgul4eXwSiWt+IhL 8YECy9K0EN4an0K2VL6mAoKmm6Vu+79KWLO8r/Er7xembeG2Yh+8jWH1FnmcpMgnoEaS g1NB5M3CNr/rSGvre+bWxwA/MlnNMDudV0Rvs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=hulaQlmPVPvqms9UNfixs2eU3nt5QN1ICa1xvuSx4snSPfOy/70elWPKhcJqUvSLe1 gU8xQqEsosABdP965i0Shgi2WcI3QcIVTD0+/eEJL1UbLC13Zffi+uuARQCEYN1PUMIF pGaa+fEg7KnDDcaNso/ibPvQvPe2P7IQYeSYc= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.115.116.37 with SMTP id t37mr2672673wam.79.1260741735987; Sun, 13 Dec 2009 14:02:15 -0800 (PST) In-Reply-To: <200912131830.37822.michaelkintzios@gmail.com> References: <200912131830.37822.michaelkintzios@gmail.com> Date: Mon, 14 Dec 2009 06:02:15 +0800 Message-ID: <184110a70912131402v6eb946e3g2f9ced512206cd10@mail.gmail.com> Subject: Re: [gentoo-user] Is rc.conf no longer used by Gentoo (baselayout-1.12.13)? From: Mike Mazur To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: befbde5a-2515-4dd8-b323-f70f6a2c0693 X-Archives-Hash: f82e1a4ab47cae34da72caa6723a8ab1 Hi, I ran across this issue last night. On Mon, Dec 14, 2009 at 02:30, Mick wrote: > If this is the case, am I right to assume that the files in > /etc/X11/Sessions/* are not used anymore and the solution is to set up a local > ~/.xinitrc file for launching the desired WM? The scripts in /etc/X11/Sessions/ can still be used. > I am muddled up because I have forever it seems used /etc/rc.conf to manage > the XSESSION which xdm would pick from /etc/X11/Sessions/* to start different > WMs. At some point /etc/rc.conf was no longer being sourced. Instead, setting the XSESSION variable in /etc/env.d is the correct way to do it. From the pkg_postinst section of the x11-apps/xinit ebuild[1]: ewarn "If you use startx to start X instead of a login manager like gdm/kdm," ewarn "you can set the XSESSION variable to anything in /etc/X11/Sessions/ or" ewarn "any executable. When you run startx, it will run this as the login session." ewarn "You can set this in a file in /etc/env.d/ for the entire system," ewarn "or set it per-user in ~/.bash_profile (or similar for other shells)." ewarn "Here's an example of setting it for the whole system:" ewarn " echo XSESSION=\"Gnome\" > /etc/env.d/90xsession" ewarn " env-update && source /etc/profile" So, creating /etc/env.d/90xsession with the contents XSESSION="Gnome" (I use Gnome) did the trick. Hope that helps, Mike [1] http://gentoo-portage.com/AJAX/Ebuild/100485/View