You are not logged in.

1

Wednesday, February 16th 2005, 2:43pm

kde starts very slowly

hi there
i have a problem with my kde (3.3). sometimes it's very slowly to start-up. always at the same point: initalizing peripherals. i think kde tries to initialize something which doesn't exist. or it is a network-problem, but this would be strange, because it doesn't make a difference wheter i'am on the network or not.
my question:
does anybody know, how i can watch what kde exactliy does during the startup? best would be to see during start-up what it's doing at the moment. so i could see, what process or similiar takes such a long time. any ideas, how i could see such a kind of log or report?
thx
(i work on an ibm t42 - notebook, installed gentoo, kernel 2.6.9, kde 3.3.1 compiled from the gentoo portage, installed packages: kde-env, kdebase, kdelibs)
***********************
AC/DC

This post has been edited 1 times, last edit by "warheart" (Feb 16th 2005, 2:44pm)


2

Wednesday, February 16th 2005, 5:47pm

In most cases that's because it's looking up the localhost, and that can take a while.

Try adding the following line to your /etc/hosts file
127.0.0.1 localhost

Or, if your pc has a hostname, you can also use that name I think, something like:
127.0.0.1 your_hostname

Not completely sure though.

3

Wednesday, February 23rd 2005, 7:29am

i have localhost in it, i don't think that this is the problem.

i think the problem is, that kde searches very long for the usb-mouse, which isn't always linked to the notebook. if the i plug in the mouse before start-up, kde starts faster (usually). if i don't plug in the mouse, kde seems to search very long for the mouse.

can i set a timeout anywhere? or is it perhaps a X-problem?

thank you for all ideas!
***********************
AC/DC

4

Thursday, March 10th 2005, 1:14pm

kde starts very slowly - [solved]

I found the problem now on my own:

every time if I wasn't in my homenetwork which is setup by /etc/conf.d/net kde startet very slow (peripherial section). if i was i the homenetwork, kde startet normally and fast.

now i disabled the settings in /etc/conf.d/net, so kde haven't to search for my network, which doesn't exist. if I do it like this, kde starts normally and fast.
***********************
AC/DC

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

5

Thursday, March 10th 2005, 2:28pm

That was partly what tbscope suggested: if you ahve your host name associated with 127.0.0.1 (not just "localhost") it can resolve the hostname even when all other interfaces are down.

Cheers,
_
Qt/KDE Developer
Debian User

6

Thursday, March 10th 2005, 10:47pm

you are right. I tried it like this now and it works. I thought, I already tried it... Don't seem so...
but I let it like I did it, because I wrote a shellscript to select a network-profile while booting. otherwise I have to setup network always after login (sometimes school, sometimes home, sometimes wlan, sometimes wired) and that's boring.
thanks for help anyway!
***********************
AC/DC