stop suspend on NON-X system

Colin Law clanlaw at gmail.com
Sun Oct 12 09:21:51 UTC 2014


On 12 October 2014 09:03, Karl Auer <kauer at biplane.com.au> wrote:
> 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.

This might do it

sudo apt-get install acpi-support

edit /etc/default/acpi-support and set SUSPEND_METHODS="none"

sudo /etc/init.d/acpid restart

Colin




More information about the ubuntu-users mailing list