1). Modify the permission of the directory below.
sudo chmod 755 -R /var/lib/polkit-1/
2). Open the file
com.ubuntu.enable-hibernate.pkla
or create it if it does not exist.sudo nano /var/lib/polkit-1/var/lib/polkit-1/com.ubuntu.enable-hibernate.pklaAdd the following lines:
[Re-enable hibernate by default in upower] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes [Re-enable hibernate by default in logind] Identity=unix-user:* Action=org.freedesktop.login1.hibernate ResultActive=yes
3). Restart your computer
Reference
http://ubuntuhandbook.org/index.php/2014/04/enable-hibernate-ubuntu-14-04/
No comments:
Post a Comment