{"id":54,"date":"2018-10-26T01:22:40","date_gmt":"2018-10-26T01:22:40","guid":{"rendered":"http:\/\/hotelectron.co.uk\/?p=54"},"modified":"2018-10-26T01:22:40","modified_gmt":"2018-10-26T01:22:40","slug":"linux-machine-fedora-restarted-immediately-after-suspend","status":"publish","type":"post","link":"https:\/\/hotelectron.co.uk\/?p=54","title":{"rendered":"Linux machine (Fedora) restarted  immediately after suspend"},"content":{"rendered":"<p>My Dell Laptop restarted immediately after suspend when using Fedora 28\u00a0 (Linux). To debug this, I used the following commands :<\/p>\n<ol>\n<li>systemd-inhibit &#8211;list\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8211; This shows the programs that can inhibit suspending the system.<\/li>\n<li>systemctl suspend\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8211; Request a suspend. Similar to closing the laptop lid.<\/li>\n<li>systemctl suspend -i\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8211; Override inhibit and suspend, preventing programs that are inhibiting suspend from being able to inhibit.<\/li>\n<\/ol>\n<p>I found that I could kill off processes listed by (1) and see which one was causing problems. In my case the xfce4-power-manager was the culprett<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My Dell Laptop restarted immediately after suspend when using Fedora 28\u00a0 (Linux). To debug this, I used the following commands : systemd-inhibit &#8211;list\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8211; This shows the programs that can inhibit suspending the system. systemctl suspend\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8211; Request a suspend. Similar to closing the laptop lid. systemctl suspend -i\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8211; Override inhibit and suspend, preventing &hellip; <a href=\"https:\/\/hotelectron.co.uk\/?p=54\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Linux machine (Fedora) restarted  immediately after suspend&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/hotelectron.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hotelectron.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hotelectron.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hotelectron.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hotelectron.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=54"}],"version-history":[{"count":1,"href":"https:\/\/hotelectron.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":55,"href":"https:\/\/hotelectron.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/54\/revisions\/55"}],"wp:attachment":[{"href":"https:\/\/hotelectron.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hotelectron.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hotelectron.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}