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 <gentoo-user+bounces-93938-garchives=archives.gentoo.org@lists.gentoo.org>) id 1LvRkW-0005SV-8k for garchives@archives.gentoo.org; Sun, 19 Apr 2009 07:47:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4EECEE0832; Sun, 19 Apr 2009 07:47:35 +0000 (UTC) Received: from mail-ew0-f165.google.com (mail-ew0-f165.google.com [209.85.219.165]) by pigeon.gentoo.org (Postfix) with ESMTP id ECEDBE0832 for <gentoo-user@lists.gentoo.org>; Sun, 19 Apr 2009 07:47:34 +0000 (UTC) Received: by ewy9 with SMTP id 9so576273ewy.34 for <gentoo-user@lists.gentoo.org>; Sun, 19 Apr 2009 00:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=fM6fTmcieNKQlV9morFz9BuPWhSq+OL7AM59plf68SQ=; b=rRM5GXo6OR1DT1f8RC9yvuhdXLdF/7SVaqRz+pKgN2ttl38Dt6Nk0kzivptajWQzGw OShvhrYFLx26Kov62fnV+WTgPfOWIiVxTPjE1g4EDV3dGBQXQOpl+rAtSuK8E2w4K+B8 TyEs+wZ7jQYX9hMN5d8B2iJnmu9qQ3S2y9bmE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=Iw3qwLB/sIvjZPskhr+j9Dx2HQ7Fl2zfymNZite/Bo/elJIf7x3ddDYJMNY96iwtQE GM21Ex3OzhRF40dvtnZZHEMpTMAK7Qn9T4gO+dKhHD7hvHjwi5AZklNr67Gr3lpZcDVG qUS8GGZpsQapJj7dwc7mHoyLjZWMDdFHj6p48= Received: by 10.210.11.13 with SMTP id 13mr2422278ebk.48.1240127254391; Sun, 19 Apr 2009 00:47:34 -0700 (PDT) Received: from nazgul.localnet (196-210-140-95-rrdg-esr-2.dynamic.isadsl.co.za [196.210.140.95]) by mx.google.com with ESMTPS id 24sm534652eyx.3.2009.04.19.00.47.32 (version=SSLv3 cipher=RC4-MD5); Sun, 19 Apr 2009 00:47:33 -0700 (PDT) From: Alan McKinnon <alan.mckinnon@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Clean-up after latest updates Date: Sun, 19 Apr 2009 09:45:56 +0200 User-Agent: KMail/1.11.2 (Linux/2.6.29-gentoo; KDE/4.2.2; x86_64; ; ) References: <20090419031825.GB19284@waltdnes.org> In-Reply-To: <20090419031825.GB19284@waltdnes.org> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904190945.56320.alan.mckinnon@gmail.com> X-Archives-Salt: 009c60fb-5eed-483c-a58a-2e5b20c428d5 X-Archives-Hash: ed1df550dc0ce0a1bfba568df6e334c5 On Sunday 19 April 2009 05:18:25 Walter Dnes wrote: [snip] > 2) I go through /var/log/portage/elog after updates, and check for > warnings. I got the following with xinit-1.0.8-r4 > > > WARN: postinst > > If you use startx to start X instead of a login manager like gdm/kdm, > > you can set the XSESSION variable to anything in /etc/X11/Sessions/ or > > any executable. When you run startx, it will run this as the login > > session. > > You can set this in a file in /etc/env.d/ for the entire system, > > or set it per-user in ~/.bash_profile (or similar for other shells). > > Here's an example of setting it for the whole system: > > echo XSESSION="Gnome" > /etc/env.d/90xsession > > env-update && source /etc/profile > > Could someone please explain in plain English what this means? I.e. > what are the plus and minus sides of doing the above? Should I bother? There are about a brazzillion ways of getting X to start manually. It's telling you some way supported on gentoo. It starts with the usual type of configuration - a global one for all users and/or one just for a specific user in their home directory. One of the things xinit does is look for the variable XSESSION. If set, it will read the contents of it and try and run that as an X session. There are no real pluses and minuses to either way. If you admin a huge box with many users, you might want to set a default of Gnome for everyone, and let users change it if they want in their home dir. If this is your personal machine, there is one user - you - and the setting is best done in your home dir (most howtos on the net will refer to this method). It's the old story of Unix - YOU have complete freedom to do things any way you want unconstrained. You also have the responsibility of knowing what you are doing :-) > 3) I notice that gcc-4.3.2-r3 has been installed. I understand that > the commands to upgrade are... > > gcc-config i686-pc-linux-gnu-4.3.2 > env-update && source /etc/profile > > Have there been any problems encountered with 4.3.2? Do I need to > re-emerge sytem and world? NO. The only time you ever need to rebuild system and world is when the tool chain has broken the API/ABI used in earlier versions. If this happens, every blog site on the net, this list, the gentoo forums and the gentoo docs will be full of just about nothing else and how gcc breaks everything. Plus you will have an elog message insisting that you to do it. You didn't get such a message or read such a blog. Therefore, you do not need to do it and do not need to waste 48 hours of your life. > Actually, I might decide to clean up CFLAGS > in my /etc/make.conf from the current... > CFLAGS="-O2 -march=prescott -mmmx -msse -msse2 -msse3 -mfpmath=sse > -fomit-frame-pointer -pipe" > > to a simpler... > CFLAGS="-O2 -march=native -mtune=native -mfpmath=sse -fomit-frame-pointer > -pipe" > > and rebuild with that. You don't need mtune if you have march. The binaries will run on the machine that built them. No need to rebuild anything, as nothing will change much with that change in CFLAGS. > 4) Speaking of /etc/make.conf, there was some news about Radeon HD > cards being moved to a separate driver group and requiring a change in > /etc/make.conf. I'm using a card from an older computer, which lspci > shows as... > > ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01) > > Since X is working, I assume that my card is not a member of the Radeon > HD family. My /etc/make.conf includes the lines... > > INPUT_DEVICES="keyboard mouse" > VIDEO_CARDS="intel vga" Hmmm. I'd say your X is running on the vga driver. What driver is actually loaded as per Xorg.0.log? -- alan dot mckinnon at gmail dot com