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