Disable suspend / hibernate via the policykit

8,615

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:
8,615

Related videos on Youtube

redonath
Author by

redonath

Updated on September 18, 2022

Comments

  • redonath
    redonath over 1 year

    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?

  • blade19899
    blade19899 over 11 years
    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