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 1Oy82Q-0000V2-VZ for garchives@archives.gentoo.org; Tue, 21 Sep 2010 18:57:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3F04E0D61; Tue, 21 Sep 2010 18:57:08 +0000 (UTC) Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by pigeon.gentoo.org (Postfix) with SMTP id 7B7BCE0D61 for ; Tue, 21 Sep 2010 18:57:08 +0000 (UTC) Received: (qmail invoked by alias); 21 Sep 2010 18:57:06 -0000 Received: from i53875376.versanet.de (EHLO [182.25.90.10]) [83.135.83.118] by mail.gmx.net (mp061) with SMTP; 21 Sep 2010 20:57:06 +0200 X-Authenticated: #27338136 X-Provags-ID: V01U2FsdGVkX18siBdrSaEsLFZDDWeHpmDICDyghE/kscr1Hb7k4i cet90wUemAjUqi Message-ID: <4C990000.4010005@gmx.net> Date: Tue, 21 Sep 2010 20:57:04 +0200 From: Thomas Drueke User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100910 Lightning/1.0b3pre Thunderbird/3.1.3 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] su in konsole takes much longer to complete in KDE 4.5.1 References: <4C97A30F.1080307@gmx.net> <201009202311.53753.alan.mckinnon@gmail.com> <4C97D7DE.7030208@gmx.net> <20100921101021.GA26362@ksp.sk> <4C98EB8C.8010705@gmx.net> In-Reply-To: <4C98EB8C.8010705@gmx.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Archives-Salt: 015bf67e-854f-4519-867e-c312b6b14405 X-Archives-Hash: ce171dee9822d54b87fdf84c2f0e4f31 Just to let you know that I solved this (at least somehow) by using kdm as login manager and no longer start KDE via .xinitrc/startkde. It seems some more configuration/program-startup is done by kdm which solves this. Thanks for your help. Thomas Am 21.09.2010 19:29, schrieb Thomas Drueke: > Thanks for the hint. > > "unset DISPLAY" let "su -" complete immediately. > > I'll check my bashrc/profile + xauth related things to see what might > cause this. > > Thomas > > Am 21.09.2010 12:10, schrieb YoYo Siska: >> On Mon, Sep 20, 2010 at 11:53:34PM +0200, Thomas Drueke wrote: >>> Thanks for hints, but no luck so far. >>> >>> Yohan, using xterm instead of konsole results in the same delay. >> >> To rule some other things out, you could also try: >> unset DISPLAY >> su - >> >> DISPLAY is one of the differences between a text konsole and anything >> under X... Might be that some bashrc/profile script tries to do >> something with X if it sees DISPLAY, but isn't able to connect to X under >> root... (maybe some xauth stuff..) >> >> yoyo >> >>> >>> Alan, hosts contains the hostname (FQDN) for eth0 and also alocalhost >>> entry. Plus wireshark didn't show any network traffic during the delay >>> (for both eth0 and lo). >>> >>> Is there any of the new services from KDE 4 which requires some >>> configuration concerning DNS or similar network services ? >>> >>> Regards, >>> Thomas >>> >>> Am 20.09.2010 23:11, schrieb Alan McKinnon: >>>> Apparently, though unproven, at 20:08 on Monday 20 September 2010, Thomas >>>> Drueke did opine thusly: >>>> >>>>> Hi, >>>>> >>>>> I installed KDE 4.5.1 over the weekend following the >>>>> "remove-all-old-kde-packages-first" approach on the gentoo webpage. So >>>>> far everything seems to be fine except one thing. >>>>> >>>>> When I type "su -" in konsole it takes 20-30 seconds to complete. >>>>> Doing the same on a text console the command completes immediately. >>>>> >>>>> I don't have NIS or LDAP enabled. "strace su -" came back with an >>>>> authentication failure immediately so no much info from there. >>>>> Also "top" didn't show any suspicious process consuming the time. >>>>> >>>>> I found a thread from may which might be related to my observation >>>>> ("KDE takes ages to show password screen after suspend"). >>>>> The solution there was to upgrade to KDE 4.4.4 which does not fit here. >>>>> Google didn't show much on this topic as well. >>>>> >>>>> Any ideas what might cause the delay or how to get more close to the >>>>> root cause ? >>>> >>>> >>>> 20-30 second delays due to DNS timeouts have hit me so many times it's always >>>> the first thing I check, even when it seems irrelevant. >>>> >>>> Does your machine have a local hostname, and do you have an entry for it in >>>> either DNS or /etc/hosts? >>>> >>>> >>> >> >> >> >> > >