Announcement

Collapse
No announcement yet.

Ksysguard Freezes Desktop

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

    Ksysguard Freezes Desktop

    Today I found that when I start Ksysguard, I could not start or control anything else on the desktop. For example, I could not launch Dolphin. Ksysguard keeps working as it should but nothing else works. The clock continues and when I exit Ksysguard, I get a Sorry Plasma message with KDEInit could not launch '/usr/bin/ksysguard'.

    Has anyone else encountered this problem or is there a solution that I am unaware off?

    #2
    If I start it via the Kmenu, I see the problem you are seeing.

    If I start it via krunner, the desktop works normally, except that the krunner window is stuck on the screen.

    I see the KDEInit message after closing it, either way.

    It also logs "cannot open config file '/etc/ksysguarddrc'" even though that file is there.

    Comment


      #3
      Originally posted by ronw View Post
      If I start it via the Kmenu, I see the problem you are seeing.

      If I start it via krunner, the desktop works normally, except that the krunner window is stuck on the screen.

      I see the KDEInit message after closing it, either way.

      It also logs "cannot open config file '/etc/ksysguarddrc'" even though that file is there.
      Thanks for your reply and I am glad that I am not the only person on the Planet with this problem.

      I found that when I used krunner, it gave me two options. the second it to select run ksysguard and this made ksysguard work as it should. I decided to try editing the Applications menu and the only option for ksysguard that I found would work, was to select the option to run in terminal mode. This give the "Sorry Plasma" error message KDEInit could not launch konsole. When I click OK to this message, I get my desktop usage back to normal. The only problem with this approach is that there is konsole running and it has the message
      kf5.kiconthemes: "Theme tree: (Breeze)"
      "Trying to convert empty KLocalizedString to QString."
      I am sure that this is a simple problem for the developers to fix. I would hope that it is done soon as I found this problem during a Skype session and fortunately that did not fail as all I was trying to do was check the network and processor activity with a new webcam that I had bought.

      Comment


        #4
        Searching...

        Searching with: 'ksysguard freeze'



        Maybe:

        - FS#44104 - [ksysguard] when launched using krun, plasma-desktop freezes: https://bugs.archlinux.org/task/44104

        Fixed with: https://projects.kde.org/projects/kd...2f9366b27882d4

        - KSysGuard is loaded forever: https://bugs.launchpad.net/ubuntu/+s...d/+bug/1428306
        - Bug 344838 - System Monitor is always loaded: https://bugs.kde.org/show_bug.cgi?id=344838

        Marked as duplicate of Bug 343673 - KDEInit could not launch </usr/bin/kate>: https://bugs.kde.org/show_bug.cgi?id=343673


        Note

        The Ubuntu repository version is not the latest - Kubuntu CI is: https://blogs.kde.org/2014/11/20/kub...t-project-neon

        Comment


          #5
          I found it interesting that in all the examples using krunner, the full name ie ksysguard was not entered. When I did this, I got the following output.ksysguard.jpg By selecting the lower option, ksysguard runs without an error and the krunner box goes away with a normal operating desktop.

          This behaviour makes me believe that this problem should be easy to fix.

          Comment


            #6
            More fresh ?

            At here

            The ksysguard is grabbing/freezing the plasma. When the System Monitor is launched the panel autohide/show is not working. And on exit the error message is shown.



            Workaround at here(*)

            Browsing to the https://launchpad.net/~kubuntu-ci .

            Looking what is available - picking the Kubuntu CI Stable. It has ksysguard 2015-02-27 (more fresh).

            Adding the repository.

            Updating the apt database.

            Upgrading the ksysguard (simulation first).

            Log of sudo apt-get -s install ksysguard
            Mon Mar 9 16:08:00 2015

            Reading package lists...
            Building dependency tree...
            Reading state information...
            The following extra packages will be installed:
            ksysguard-data ksysguardd
            The following packages will be upgraded:
            ksysguard ksysguard-data ksysguardd
            3 upgraded, 0 newly installed, 0 to remove and 236 not upgraded.
            Inst ksysguard [4:5.2.1-0ubuntu1] (4:5.2.1+git20150227.0102+15.04-0ubuntu0 Kubuntu CI Stable:15.04/vivid [amd64]) []
            Inst ksysguard-data [4:5.2.1-0ubuntu1] (4:5.2.1+git20150227.0102+15.04-0ubuntu0 Kubuntu CI Stable:15.04/vivid [all]) []
            Inst ksysguardd [4:5.2.1-0ubuntu1] (4:5.2.1+git20150227.0102+15.04-0ubuntu0 Kubuntu CI Stable:15.04/vivid [amd64])
            Conf ksysguard-data (4:5.2.1+git20150227.0102+15.04-0ubuntu0 Kubuntu CI Stable:15.04/vivid [all])
            Conf ksysguardd (4:5.2.1+git20150227.0102+15.04-0ubuntu0 Kubuntu CI Stable:15.04/vivid [amd64])
            Conf ksysguard (4:5.2.1+git20150227.0102+15.04-0ubuntu0 Kubuntu CI Stable:15.04/vivid [amd64])
            Log of sudo apt-get install ksysguard
            Mon Mar 9 16:08:14 2015

            Reading package lists...
            Building dependency tree...
            Reading state information...
            The following extra packages will be installed:
            ksysguard-data ksysguardd
            The following packages will be upgraded:
            ksysguard ksysguard-data ksysguardd
            3 upgraded, 0 newly installed, 0 to remove and 236 not upgraded.
            Need to get 267 kB of archives.
            After this operation, 2,342 kB disk space will be freed.
            Do you want to continue? [Y/n] Get:1 http://ppa.launchpad.net/kubuntu-ci/stable/ubuntu/ vivid/main ksysguard amd64 4:5.2.1+git20150227.0102+15.04-0ubuntu0 [173 kB]
            Get:2 http://ppa.launchpad.net/kubuntu-ci/stable/ubuntu/ vivid/main ksysguard-data all 4:5.2.1+git20150227.0102+15.04-0ubuntu0 [37.9 kB]
            Get:3 http://ppa.launchpad.net/kubuntu-ci/stable/ubuntu/ vivid/main ksysguardd amd64 4:5.2.1+git20150227.0102+15.04-0ubuntu0 [55.8 kB]
            Fetched 267 kB in 2s (96.1 kB/s)
            (Reading database ... 154512 files and directories currently installed.)
            Preparing to unpack .../ksysguard_4%3a5.2.1+git20150227.0102+15.04-0ubuntu0_amd64.deb ...
            Unpacking ksysguard (4:5.2.1+git20150227.0102+15.04-0ubuntu0) over (4:5.2.1-0ubuntu1) ...
            Preparing to unpack .../ksysguard-data_4%3a5.2.1+git20150227.0102+15.04-0ubuntu0_all.deb ...
            Unpacking ksysguard-data (4:5.2.1+git20150227.0102+15.04-0ubuntu0) over (4:5.2.1-0ubuntu1) ...
            Preparing to unpack .../ksysguardd_4%3a5.2.1+git20150227.0102+15.04-0ubuntu0_amd64.deb ...
            Unpacking ksysguardd (4:5.2.1+git20150227.0102+15.04-0ubuntu0) over (4:5.2.1-0ubuntu1) ...
            Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
            Processing triggers for mime-support (3.58ubuntu1) ...
            Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
            Setting up ksysguard-data (4:5.2.1+git20150227.0102+15.04-0ubuntu0) ...
            Setting up ksysguardd (4:5.2.1+git20150227.0102+15.04-0ubuntu0) ...
            Setting up ksysguard (4:5.2.1+git20150227.0102+15.04-0ubuntu0) ...
            Seems to work...




            And last: DISABLING the kubuntu ci repository.


            (*) At here

            - The Vivid is not the one and only installation.
            - I understand that these things will take time - an personal opinion:

            Kubuntu 15.04 - will be a beta release of the KF5 + plasma 5 + all the other bits.
            Kubuntu 15.10 - will be a RC release of the KF5 + plasma 5 + all the other bits.
            Kubuntu 16.04 - will be a quality release of the KF5 + plasma 5 + all the other bits (hopefully ).
            Last edited by Rog132; Mar 09, 2015, 08:44 AM.
            A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
            Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

            Comment


              #7
              Thanks for showing how the kubuntu ci repository solves the problem. As I am a little more daring, I added the repository ppa:kubuntu-ci/stable and found that there were over 200 packages to update. So I decided to accept all and my system is still working including ksysguard.

              My system no longer boots from the default option. It stops with a message "starting version 219" on a blank screen. I can now only boot my system from choosing the option upstart from the advanced options. This used to be systemd, which is no longer listed.

              Comment


                #8
                sddm problem ?

                The Kubuntu developers are wondering - http://irclogs.ubuntu.com/2015/03/09...el.html#t14:17
                Riddell sitter: has kubuntu-ci been tested with systemd? d__ed has a non-working sddm today 14:17
                You may want (or may not) to use the ppa-purge:
                :~$ apt-cache show ppa-purge
                Package: ppa-purge
                Priority: optional

                Description: disables a PPA and reverts to official packages
                This program disables a PPA from your Software Sources and reverts your
                system back to the official Ubuntu packages. You can use this to return your
                system to normal after testing a new version from a PPA.

                ...I can now only boot my system from choosing the option upstart from the advanced options. This used to be systemd, which is no longer listed.
                Earlier: https://www.kubuntuforums.net/showth...art-to-systemd --> https://wiki.ubuntu.com/SystemdForUpstartUsers

                Switch for a single boot

                In grub, select "Advanced options for Ubuntu", where you will find an "Ubuntu, with Linux ... (systemd)" entry. This will boot with init=/lib/systemd/systemd.

                If you have systemd-sysv installed and thus boot with that by default, there will be an "Ubuntu, with Linux ... (upstart)" entry, which will boot with init=/sbin/upstart.
                Last edited by Rog132; Mar 09, 2015, 03:32 PM.
                A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
                Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

                Comment


                  #9
                  There is another workaround so you don't need to upgrade ksysguard. Edit /usr/share/applications/org.kde.ksysguard.desktop and comment out this line (add a # before it):

                  Code:
                  Change
                  
                  X-DBUS-StartupType=Multi
                  
                  to
                  
                  #X-DBUS-StartupType=Multi

                  Comment


                    #10
                    Originally posted by herophuong View Post
                    There is another workaround so you don't need to upgrade ksysguard. Edit /usr/share/applications/org.kde.ksysguard.desktop and comment out this line (add a # before it):

                    Code:
                    Change
                    
                    X-DBUS-StartupType=Multi
                    
                    to
                    
                    #X-DBUS-StartupType=Multi
                    Works great, thanks very much. I hope this message gets to the developers asap.

                    I ended up doing a re-install using the 10th March build as I found that using ppa:kubuntu-ci/stable was not the way to go. I found that muon from this ppa did not have the option to Configure Software Sources so I removed this ppa using Muon Discover. When I tried to remove muon and other packages after doing this, I had package conflicts with those that had been installed from the kubuntu-ci repository.

                    I had another reason for doing the install. That was to measure the time for installation and report the times to my Son who uses Windows. The very approximate times for installation on a USB 3.0 Flash Drive were 15 minutes to reboot and 20 minutes to enter and install about 200 packages to give me full multimedia and communications capabilities.

                    Comment

                    Working...
                    X