stop suspend on NON-X system
Karl Auer
kauer at biplane.com.au
Sun Oct 12 08:03:48 UTC 2014
Hi there.
I have a netbook running as a server. I installed the desktop version of
Ubuntu 14.04-1 and have disabled lightdm using an override file
in /etc/init. This machine thus runs WITHOUT X and WITHOUT EVER STARTING
X. Important points.
What I want to do is prevent this machine from suspending or hibernating
when I close the lid. At the moment, when I close the lid the system
suspends to RAM.
Any ideas? I've found lots of stuff, but it is all X-related, outdated,
or doesn't work. The most promising was some entries
under /etc/polkit-1, but the suggested incantation did not work.
Has anyone here got an idea how this might be achieved?
Thanks, K.
PS: The netbook has no BIOS setting controlling suspend on lid.
PPS: The X settings - from before I disabled lightdm - did successfully
stop the system from suspending when the lid was closed. However, X was
running at those times.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389
GPG fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882
Old fingerprint: B862 FB15 FE96 4961 BC62 1A40 6239 1208 9865 5F9A
More information about the ubuntu-users
mailing list