Can't hibernate on Lubuntu 18.10












1














Actually I'm having issues when trying to hibernate on my computer, it does nothing after I try to hibernate using Lubuntu 18.10



lxqt-leave --hibernate

(0x7ffd4d782c90) Warning: Icon theme "breeze" not found.
(0x7ffd4d782c90) Debug: systemd: "CanHibernate" = "no"
(0x7ffd4d782c90) Warning: ** Dbus error **************************
(0x7ffd4d782c90) Warning: Error name "org.freedesktop.DBus.Error.InvalidArgs"
(0x7ffd4d782c90) Warning: Error msg "No such interface “org.freedesktop.DBus.Properties”"
(0x7ffd4d782c90) Warning: ****************************************
(0x7ffd4d782c90) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.ConsoleKit" "/org/freedesktop/ConsoleKit/Manager" "org.freedesktop.ConsoleKit.Manager" "CanHibernate"


echo $?
0


I know it's a recent Ubuntu distro and probably that's why I found nothing related that would be solve tha problem, I just found an issue on lxqt github talking about that.



Have you some workaround for that situation?










share|improve this question






















  • do you have a swap space?
    – cipricus
    Nov 19 at 12:58










  • @cipricus Yes I do, I found a solution, looks like after Ubuntu 16 you have to specify the swap partition uuid on kernel params reference
    – deFreitas
    Nov 19 at 21:38










  • would you please post that as answer?
    – cipricus
    Nov 19 at 23:40
















1














Actually I'm having issues when trying to hibernate on my computer, it does nothing after I try to hibernate using Lubuntu 18.10



lxqt-leave --hibernate

(0x7ffd4d782c90) Warning: Icon theme "breeze" not found.
(0x7ffd4d782c90) Debug: systemd: "CanHibernate" = "no"
(0x7ffd4d782c90) Warning: ** Dbus error **************************
(0x7ffd4d782c90) Warning: Error name "org.freedesktop.DBus.Error.InvalidArgs"
(0x7ffd4d782c90) Warning: Error msg "No such interface “org.freedesktop.DBus.Properties”"
(0x7ffd4d782c90) Warning: ****************************************
(0x7ffd4d782c90) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.ConsoleKit" "/org/freedesktop/ConsoleKit/Manager" "org.freedesktop.ConsoleKit.Manager" "CanHibernate"


echo $?
0


I know it's a recent Ubuntu distro and probably that's why I found nothing related that would be solve tha problem, I just found an issue on lxqt github talking about that.



Have you some workaround for that situation?










share|improve this question






















  • do you have a swap space?
    – cipricus
    Nov 19 at 12:58










  • @cipricus Yes I do, I found a solution, looks like after Ubuntu 16 you have to specify the swap partition uuid on kernel params reference
    – deFreitas
    Nov 19 at 21:38










  • would you please post that as answer?
    – cipricus
    Nov 19 at 23:40














1












1








1







Actually I'm having issues when trying to hibernate on my computer, it does nothing after I try to hibernate using Lubuntu 18.10



lxqt-leave --hibernate

(0x7ffd4d782c90) Warning: Icon theme "breeze" not found.
(0x7ffd4d782c90) Debug: systemd: "CanHibernate" = "no"
(0x7ffd4d782c90) Warning: ** Dbus error **************************
(0x7ffd4d782c90) Warning: Error name "org.freedesktop.DBus.Error.InvalidArgs"
(0x7ffd4d782c90) Warning: Error msg "No such interface “org.freedesktop.DBus.Properties”"
(0x7ffd4d782c90) Warning: ****************************************
(0x7ffd4d782c90) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.ConsoleKit" "/org/freedesktop/ConsoleKit/Manager" "org.freedesktop.ConsoleKit.Manager" "CanHibernate"


echo $?
0


I know it's a recent Ubuntu distro and probably that's why I found nothing related that would be solve tha problem, I just found an issue on lxqt github talking about that.



Have you some workaround for that situation?










share|improve this question













Actually I'm having issues when trying to hibernate on my computer, it does nothing after I try to hibernate using Lubuntu 18.10



lxqt-leave --hibernate

(0x7ffd4d782c90) Warning: Icon theme "breeze" not found.
(0x7ffd4d782c90) Debug: systemd: "CanHibernate" = "no"
(0x7ffd4d782c90) Warning: ** Dbus error **************************
(0x7ffd4d782c90) Warning: Error name "org.freedesktop.DBus.Error.InvalidArgs"
(0x7ffd4d782c90) Warning: Error msg "No such interface “org.freedesktop.DBus.Properties”"
(0x7ffd4d782c90) Warning: ****************************************
(0x7ffd4d782c90) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.ConsoleKit" "/org/freedesktop/ConsoleKit/Manager" "org.freedesktop.ConsoleKit.Manager" "CanHibernate"


echo $?
0


I know it's a recent Ubuntu distro and probably that's why I found nothing related that would be solve tha problem, I just found an issue on lxqt github talking about that.



Have you some workaround for that situation?







lubuntu 18.10






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 2 at 21:26









deFreitas

179110




179110












  • do you have a swap space?
    – cipricus
    Nov 19 at 12:58










  • @cipricus Yes I do, I found a solution, looks like after Ubuntu 16 you have to specify the swap partition uuid on kernel params reference
    – deFreitas
    Nov 19 at 21:38










  • would you please post that as answer?
    – cipricus
    Nov 19 at 23:40


















  • do you have a swap space?
    – cipricus
    Nov 19 at 12:58










  • @cipricus Yes I do, I found a solution, looks like after Ubuntu 16 you have to specify the swap partition uuid on kernel params reference
    – deFreitas
    Nov 19 at 21:38










  • would you please post that as answer?
    – cipricus
    Nov 19 at 23:40
















do you have a swap space?
– cipricus
Nov 19 at 12:58




do you have a swap space?
– cipricus
Nov 19 at 12:58












@cipricus Yes I do, I found a solution, looks like after Ubuntu 16 you have to specify the swap partition uuid on kernel params reference
– deFreitas
Nov 19 at 21:38




@cipricus Yes I do, I found a solution, looks like after Ubuntu 16 you have to specify the swap partition uuid on kernel params reference
– deFreitas
Nov 19 at 21:38












would you please post that as answer?
– cipricus
Nov 19 at 23:40




would you please post that as answer?
– cipricus
Nov 19 at 23:40










2 Answers
2






active

oldest

votes


















0














Got the same problem.



Don't know if this helps, for me this works:



sudo systemctl hibernate





share|improve this answer































    0














    After some researching I found that after Ubuntu 18 it's required to configure UUID on kernel initialization to get hibernation to work



    Find your swap partition UUID



    $ cat /etc/fstab  | grep swap
    # swap was on /dev/sda4 during installation
    UUID=d68dc416-6d9a-4f29-8d9d-fabb3f9d8a72 none swap sw 0 0


    Then update kernel init params with swap UUID, something like below



    $ cat /etc/default/grub 
    ...
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=d68dc416-6d9a-4f29-8d9d-fabb3f9d8a72"
    ...


    Last step is to update grub



    sudo update-grub


    More details






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1089587%2fcant-hibernate-on-lubuntu-18-10%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Got the same problem.



      Don't know if this helps, for me this works:



      sudo systemctl hibernate





      share|improve this answer




























        0














        Got the same problem.



        Don't know if this helps, for me this works:



        sudo systemctl hibernate





        share|improve this answer


























          0












          0








          0






          Got the same problem.



          Don't know if this helps, for me this works:



          sudo systemctl hibernate





          share|improve this answer














          Got the same problem.



          Don't know if this helps, for me this works:



          sudo systemctl hibernate






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 26 at 22:27









          abu_bua

          3,24681025




          3,24681025










          answered Nov 26 at 21:55









          Lemuria

          1




          1

























              0














              After some researching I found that after Ubuntu 18 it's required to configure UUID on kernel initialization to get hibernation to work



              Find your swap partition UUID



              $ cat /etc/fstab  | grep swap
              # swap was on /dev/sda4 during installation
              UUID=d68dc416-6d9a-4f29-8d9d-fabb3f9d8a72 none swap sw 0 0


              Then update kernel init params with swap UUID, something like below



              $ cat /etc/default/grub 
              ...
              GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=d68dc416-6d9a-4f29-8d9d-fabb3f9d8a72"
              ...


              Last step is to update grub



              sudo update-grub


              More details






              share|improve this answer




























                0














                After some researching I found that after Ubuntu 18 it's required to configure UUID on kernel initialization to get hibernation to work



                Find your swap partition UUID



                $ cat /etc/fstab  | grep swap
                # swap was on /dev/sda4 during installation
                UUID=d68dc416-6d9a-4f29-8d9d-fabb3f9d8a72 none swap sw 0 0


                Then update kernel init params with swap UUID, something like below



                $ cat /etc/default/grub 
                ...
                GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=d68dc416-6d9a-4f29-8d9d-fabb3f9d8a72"
                ...


                Last step is to update grub



                sudo update-grub


                More details






                share|improve this answer


























                  0












                  0








                  0






                  After some researching I found that after Ubuntu 18 it's required to configure UUID on kernel initialization to get hibernation to work



                  Find your swap partition UUID



                  $ cat /etc/fstab  | grep swap
                  # swap was on /dev/sda4 during installation
                  UUID=d68dc416-6d9a-4f29-8d9d-fabb3f9d8a72 none swap sw 0 0


                  Then update kernel init params with swap UUID, something like below



                  $ cat /etc/default/grub 
                  ...
                  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=d68dc416-6d9a-4f29-8d9d-fabb3f9d8a72"
                  ...


                  Last step is to update grub



                  sudo update-grub


                  More details






                  share|improve this answer














                  After some researching I found that after Ubuntu 18 it's required to configure UUID on kernel initialization to get hibernation to work



                  Find your swap partition UUID



                  $ cat /etc/fstab  | grep swap
                  # swap was on /dev/sda4 during installation
                  UUID=d68dc416-6d9a-4f29-8d9d-fabb3f9d8a72 none swap sw 0 0


                  Then update kernel init params with swap UUID, something like below



                  $ cat /etc/default/grub 
                  ...
                  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=d68dc416-6d9a-4f29-8d9d-fabb3f9d8a72"
                  ...


                  Last step is to update grub



                  sudo update-grub


                  More details







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited yesterday

























                  answered Dec 1 at 23:40









                  deFreitas

                  179110




                  179110






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1089587%2fcant-hibernate-on-lubuntu-18-10%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Human spaceflight

                      Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                      File:DeusFollowingSea.jpg