Gentoo Archives: gentoo-user

From: Thomas Drueke <tdrueke@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] su in konsole takes much longer to complete in KDE 4.5.1
Date: Tue, 21 Sep 2010 17:32:05
Message-Id: 4C98EB8C.8010705@gmx.net
In Reply to: Re: [gentoo-user] su in konsole takes much longer to complete in KDE 4.5.1 by YoYo Siska
1 Thanks for the hint.
2
3 "unset DISPLAY" let "su -" complete immediately.
4
5 I'll check my bashrc/profile + xauth related things to see what might
6 cause this.
7
8 Thomas
9
10 Am 21.09.2010 12:10, schrieb YoYo Siska:
11 > On Mon, Sep 20, 2010 at 11:53:34PM +0200, Thomas Drueke wrote:
12 >> Thanks for hints, but no luck so far.
13 >>
14 >> Yohan, using xterm instead of konsole results in the same delay.
15 >
16 > To rule some other things out, you could also try:
17 > unset DISPLAY
18 > su -
19 >
20 > DISPLAY is one of the differences between a text konsole and anything
21 > under X... Might be that some bashrc/profile script tries to do
22 > something with X if it sees DISPLAY, but isn't able to connect to X under
23 > root... (maybe some xauth stuff..)
24 >
25 > yoyo
26 >
27 >>
28 >> Alan, hosts contains the hostname (FQDN) for eth0 and also alocalhost
29 >> entry. Plus wireshark didn't show any network traffic during the delay
30 >> (for both eth0 and lo).
31 >>
32 >> Is there any of the new services from KDE 4 which requires some
33 >> configuration concerning DNS or similar network services ?
34 >>
35 >> Regards,
36 >> Thomas
37 >>
38 >> Am 20.09.2010 23:11, schrieb Alan McKinnon:
39 >>> Apparently, though unproven, at 20:08 on Monday 20 September 2010, Thomas
40 >>> Drueke did opine thusly:
41 >>>
42 >>>> Hi,
43 >>>>
44 >>>> I installed KDE 4.5.1 over the weekend following the
45 >>>> "remove-all-old-kde-packages-first" approach on the gentoo webpage. So
46 >>>> far everything seems to be fine except one thing.
47 >>>>
48 >>>> When I type "su -" in konsole it takes 20-30 seconds to complete.
49 >>>> Doing the same on a text console the command completes immediately.
50 >>>>
51 >>>> I don't have NIS or LDAP enabled. "strace su -" came back with an
52 >>>> authentication failure immediately so no much info from there.
53 >>>> Also "top" didn't show any suspicious process consuming the time.
54 >>>>
55 >>>> I found a thread from may which might be related to my observation
56 >>>> ("KDE takes ages to show password screen after suspend").
57 >>>> The solution there was to upgrade to KDE 4.4.4 which does not fit here.
58 >>>> Google didn't show much on this topic as well.
59 >>>>
60 >>>> Any ideas what might cause the delay or how to get more close to the
61 >>>> root cause ?
62 >>>
63 >>>
64 >>> 20-30 second delays due to DNS timeouts have hit me so many times it's always
65 >>> the first thing I check, even when it seems irrelevant.
66 >>>
67 >>> Does your machine have a local hostname, and do you have an entry for it in
68 >>> either DNS or /etc/hosts?
69 >>>
70 >>>
71 >>
72 >
73 >
74 >
75 >

Replies

Subject Author
Re: [gentoo-user] su in konsole takes much longer to complete in KDE 4.5.1 Thomas Drueke <tdrueke@×××.net>