Announcement

Collapse
No announcement yet.

Very long time from entering password to ready desktop

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Very long time from entering password to ready desktop

    Recently there is a long delay from me entering my password to having a usable desktop, something like 40/50 seconds, it is comparable to vista. The desktop arrives in usual time, however the delay is from there until when the icons on the desktop folder view show, and network manager, klipper, and kmix start. On the ubuntu forums it was recommended that i try bootchart, and bootchart shows that KDED4 is using a lot of cpu for a long time.

    I googled kded4 and it seems other people have had similar problems that have mostly been solved by rebooting, or killing the process, but everytime i restart, kded4 takes much much more processing power than any thing else. Is there someway to fix this?

    #2
    Re: Very long time from entering password to ready desktop

    I have not seen that, but others apparently have:

    https://lists.ubuntu.com/archives/ku...ry/067516.html

    https://bugs.kde.org/show_bug.cgi?id=155904
    (there's a solution on that thread)

    https://bugzilla.redhat.com/show_bug.cgi?id=497314

    Comment


      #3
      Re: Very long time from entering password to ready desktop

      I don't understand tbh:

      Code:
      OK, again thanks for the heads up. I have resolved this issue on my system.
      
      Googling revealed a 3.x.x thread that as FAM daemon isn't available, kded uses 'stat'.
      
      'stat' polling can be controlled by entry in kdedrc thus:
      
      [DirWatch]
      PollInterval=60000
      
      Here I have set it to 60 seconds.
      
      This now leaves system happily purring along at 0% - 1%.
      
      Nick
      What should i do?
      For me kded4 takes a lot of cpu while booting, but very little after that:
      http://img200.imageshack.us/img200/4...armic20100.png

      I've also noticed that init takes a lot of cpu as well

      Comment


        #4
        Re: Very long time from entering password to ready desktop

        There was a bug in a recent KDE 4 where people using individual plasma settings (activities) in each virtual desktops had much longer bootups. I solved this by removing all the plasma* config files in ~/.kde/share/config, and restarting KDE. THen I was even able to add individual activities without the delay. In any case, perhaps resetting plasma settings may help!

        Comment


          #5
          Re: Very long time from entering password to ready desktop

          I guess it depends on how you use your system, whether the delay is worth the effort to "fix". If it is a laptop that gets booted multiple times per day, maybe it is. My desktop runs for days at a time after a boot, so it wouldn't be worth messing with for me.

          Regarding the mentioned solution, you may or may not have a hidden .kderc file in your user's home folder. Either ls -la in the konsole, or with Dolphin check the "Show Hidden Files" item under the "View" menu, and see if you have it. If you do, just edit it with kate or nano or something and add the line at the end of the file, with a Return following it:

          PollInterval=60000

          If you don't have a .kderc file, then you can make one. It should read as follows:

          Code:
          #!/bin/bash
          PollInterval=60000
          #end
          Save it as ".kderc" in your home folder. Then you will need to make it executable, in the Konsole, with this command, at your /home/Falc7$ prompt:

          Code:
          chmod +x .kderc
          That's it. Reboot your system and see whether it is improved. I have not had the problem, nor have I tried this "fix", so you are the guinea pig -- fair warning. If it's no help, just remove the file and there's no harm done.

          Comment


            #6
            Re: Very long time from entering password to ready desktop

            My kded4 usage is still very high only during start up. I installed a new system yesterday, kded4 usage was minimal during startup for a while, then a couple of hours later, once i had added new packages the usage shot up. There was no steady increase, just all or nothing. I wonder if a program i installed somewhere is causing this

            Comment


              #7
              Re: Very long time from entering password to ready desktop

              The strigi daemon, which indexes your system, has been known to run amok in the past. Usually it runs the CPU up for awhile on a new installation, and then when the index is finished it's not a problem. You might try turning it off.

              Comment


                #8
                Re: Very long time from entering password to ready desktop

                Originally posted by Falc7
                ... The desktop arrives in usual time, however the delay is from there until when the icons on the desktop folder view show, ...
                I've noticed this also of late. But only on Kubuntu testing. I will try the suggested fixes and keep an eye on it. I didn't notice any cpu spikes though.
                Boot Info Script

                Comment


                  #9
                  Re: Very long time from entering password to ready desktop

                  Originally posted by dibl
                  The strigi daemon, which indexes your system, has been known to run amok in the past. Usually it runs the CPU up for awhile on a new installation, and then when the index is finished it's not a problem. You might try turning it off.
                  Thanks i'll try this
                  Here is one of my first boot charts:
                  http://img97.imageshack.us/img97/475...armic20100.png
                  This is at max a day later:
                  http://img109.imageshack.us/img109/4...armic20100.png

                  edit: I've turned off strigi, but there is no change, its so annoying, the start up programs such as klipper and knetwork manager take ages to load so i cant use the internet :/

                  edit2: I've tried disabling two KDED services from system settings-> service manager, but there was no change. I've noticed programs that should start don't always do so, like deluge and kmix. Both should start every session but often one of both won't

                  Comment


                    #10
                    Re: Very long time from entering password to ready desktop

                    It seems this issue has been reported before
                    http://bbs.archlinux.org/viewtopic.php?id=79139&p=2
                    http://forum.kde.org/viewtopic.php?f=15&t=76325
                    It was suggested that people change their desktop background to colour, but this didn't work for me, and it was suggested to try the fix posted in post 9 on here:
                    https://bugs.kde.org/show_bug.cgi?id=206788
                    But i don't understand how to do what it says, can someone help?

                    Comment


                      #11
                      Re: Very long time from entering password to ready desktop

                      Originally posted by Falc7
                      and it was suggested to try the fix posted in post 9 on here:
                      https://bugs.kde.org/show_bug.cgi?id=206788
                      But i don't understand how to do what it says, can someone help?
                      That 'fix' is specifically for 64 bit Arch Linux.
                      Windows no longer obstructs my view.
                      Using Kubuntu Linux since March 23, 2007.
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment


                        #12
                        Re: Very long time from entering password to ready desktop

                        Falc7, have you ever tried my suggestion above? (i.e. resetting plasma config)

                        Comment


                          #13
                          Re: Very long time from entering password to ready desktop

                          Hi
                          oops missed your post
                          Just tried, it did indeed set plasma settings and widgets back to the defaults, but, alas no luck.

                          I have made a another installation of kubuntu on another partition, i am going to try upgrading to 4.4 to see if this fixes it

                          Comment


                            #14
                            Re: Very long time from entering password to ready desktop

                            Originally posted by Falc7
                            i am going to try upgrading to 4.4 to see if this fixes it
                            Beware:
                            ...KDE SC 4.4 RC1 is not stable software, as such, it is not suitable for everyday or production use....
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Re: Very long time from entering password to ready desktop

                              thanks, i'll be wary, the boot time is too annoying though and i don't enjoy using the desktop as much after such a wait.

                              Comment

                              Working...
                              X