Ubuntu: Disable suspend / hibernate via the policykit


I am trying to run Lubuntu 12.04, but if the computer suspends I am unable to bootup again.

Instead I see the bios post, the hard disk light flickers once and I have to install again (I have tried to re-install grub2).

I am new to Linux and what I found that best answered my question was posted by James Henstridge.

The instructions say to create disable-shutdown.pkla in etc/polkit-1/50-local.d/ but this directory does not exist, so do I create a folder titled 50-local.d in poolkit-1 or do I have to place this file elsewhere?


Instead of etc/polkit-1/50-local.d/

You can find 50-local.d in this path:



If you get stuck in 'suspend' mode as you describe, like I did this morning, you don't need to reinstall the OS. Switch the computer off at the wall, and leave it for 15 seconds or something before you switch it on again. This got me out of the suspend death loop anyway.


At terminal, run this following commands:

gksudo gedit  /usr/share/polkit-1/actions/org.freedesktop.upower.policy  

There are two sections in this file, first for suspend and second for hibernate. Near the end of each section there is a line...


Change "yes" to "no".


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »