Announcement

Collapse
No announcement yet.

Shutdown problem since update to 4.6.2 (Solved)

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

    Shutdown problem since update to 4.6.2 (Solved)

    Hi

    This may (or may not) be self-inflicted due to a careless choice of kdm config during the update. However, when I try to shutdown my laptop either by the leave menu or the power button I get dumped to a terminal login. By logging in and then typing startx I cxan start a new session or by logging in and then typing

    Code:
    sudo halt
    then my password again I can shut down. I can only shut down (or reboot) from within the session by hitting alt+F2 and typing the appropriate sudo command.

    It seems to me like kdm is broken. I have uninstalled it and reinstalled it a couple of times but to no avail. I have renamed my .kde folder but that din't fix it either. Anyone got any ideas on this?

    Also my gmail plasmoid has stopped working. The reported error is "could not open the gmail-plasmoid package required for the gmail-plasmoid widget". Any thoughts on this one?

    Thanks for listening

    #2
    Re: Shutdown problem since update to 4.6.2

    Someone changed shutdown option to "/sbin/shutdown -p now" which is used on bsd. Change this line in kdmrc to "/sbin/shutdown -h now".

    https://bugs.kde.org/show_bug.cgi?id=270228
    Plasma 5 look&feel for KDE4: http://kde-look.org/content/show.php...content=166438

    Comment


      #3
      Re: Shutdown problem since update to 4.6.2

      Thanks for that

      I found the file in question in /etc/kde4/kdm. There was also a backup which contained the simple commands:

      Code:
      /sbin/halt
      and

      Code:
      /sbin/reboot
      Reinstating that file solved the problem.

      Is there any significant difference between /sbin/halt and /sbin/shutdown -h now?

      Comment


        #4
        Re: Shutdown problem since update to 4.6.2

        Originally posted by The Liquidator
        Is there any significant difference between /sbin/halt and /sbin/shutdown -h now?
        I honestly don't know

        I am using "/sbin/shutdown -h now" and it works as it should.
        Plasma 5 look&feel for KDE4: http://kde-look.org/content/show.php...content=166438

        Comment


          #5
          Re: Shutdown problem since update to 4.6.2

          As for gmail plasmoid, try with uninstalling it, then delete ~/.kde/share/apps/plasma/plasmoids/gmail-plasmoid folder and then install and configure it again. This is what I would try
          Plasma 5 look&feel for KDE4: http://kde-look.org/content/show.php...content=166438

          Comment


            #6
            Re: Shutdown problem since update to 4.6.2

            Success

            Thanks

            Everything now solved

            Comment


              #7
              Re: Shutdown problem since update to 4.6.2 (Solved)

              I had a similar problem, except that I wasn't dumped to a terminal. Hitting the leave button did nothing.
              It turned out that my HP printer config broke and wasn't loading in the system tray. When I fixed the printer problem the leave/shutdown button began working normal again.
              "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
              – John F. Kennedy, February 26, 1962.

              Comment


                #8
                Re: Shutdown problem since update to 4.6.2 (Solved)

                I also had a shutdown problem - the laptop would either go to the splash screen and wait forever to shutdown or would just pretend that I had not asked it to shutdown.

                I created a small script which unmounts the fstab shares I am connected to and then performs the shutdown

                something like
                sudo umount /media/share
                sudo shutdown -P now or -h now works ok too.

                Machine shutsdown every time without a problem now.

                Hope this helps someone

                Comment


                  #9
                  Re: Shutdown problem since update to 4.6.2 (Solved)

                  Hi, Ive installed Kubuntu 11.10 with Windows 7 dual boot. I'm also facing the same problem of shutdown/restart, and ive changed the command lines in kdmrc as suggested, but the problem still remains. Any help?

                  Comment


                    #10
                    Re: Shutdown problem since update to 4.6.2 (Solved)

                    What version of KDE are you using as problems such as this often resolve themselves with an update.

                    Comment


                      #11
                      Re: Shutdown problem since update to 4.6.2 (Solved)

                      It's KDE SC version 4.7.1. Is there an update available? Will it solve the issue?

                      Originally posted by The Liquidator
                      What version of KDE are you using as problems such as this often resolve themselves with an update.

                      Comment


                        #12
                        Re: Shutdown problem since update to 4.6.2 (Solved)

                        The latest stable version of KDE is 4.7.4. That might solve your problem.

                        Details are here

                        http://www.kubuntu.org/kde-sc-474

                        I assume you know how to install the ppa but if not feel free to come back.

                        If it does not solve it there are one or two other things you can try but lets rule out a bug that might have been already fixed.

                        Comment


                          #13
                          Re: Shutdown problem since update to 4.6.2 (Solved)

                          I'm new to Linux, and i really dont know how to install software from terminal by using sudo command. All help regarding ppa installation is welcome.

                          Comment


                            #14
                            Re: Shutdown problem since update to 4.6.2 (Solved)

                            Since you are NEW to Linux, unless you are a skilled software developer, or have practices a lot on VM installations, I would recommend that you AVOID installing software from ANY source except the repository.

                            That said, you can install software from the REPOSITORY using the command line with:


                            sudo apt-get update
                            sudo apt-get install <packagenamehere>

                            but, if you haven't spelled the package name EXACTLY it won't work. It may, however, give you suggestions, or even supply the correct name, which you can use to redo the command.

                            The first line refreshes the local cache. The second line does the install. To install, for example, firefox:

                            sudo apt-get install firefox
                            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                            – John F. Kennedy, February 26, 1962.

                            Comment


                              #15
                              Re: Shutdown problem since update to 4.6.2 (Solved)

                              @ The Liquidator - I installed a fresh version of Kubuntu 11.10 with Win XP dual boot, and now things are working fine. Should i still upgrade to KDE 4.7.4?

                              @ GreyGeek - Is it necessary to use the command line method? Can i update from the Muon manager instead?

                              Comment

                              Working...
                              X