Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

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

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

/etc/polkit-1/localauthority/50-local.d/disable-shutdown.pkla
share|improve this answer
    
how can i check that it has worked other than by trying to suspend -i don't want to risk my system b/c i know of no other way to fix this problem than to re-install- –  redonath May 28 '12 at 8:35
    
ps thanks i really really appreciate the help –  redonath May 28 '12 at 8:38

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.

share|improve this answer
    
the question was ` do I have to place this file elsewhere?` and @redonath no it goes in the same place! although you should post a comment here askubuntu.com/questions/93542/… to confirm that –  blade19899 Sep 26 '12 at 14:53

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...

<allow_active>yes</allow_active>

Change "yes" to "no".

<allow_active>no</allow_active>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.