I just installed Ubuntu Desktop 16.04 on a little notebook (acer aspire). I will use it as a little linux server. As my screen is dead, I needed to plug an external display with VGA. Everything works fine, but, when I remove the cable, the computer instantaneously go to sleep.
I tried to add (as suggested here How do I disable my system from going to sleep?) the following, but didn't succeed:
sudo vi /etc/default/acpi-support # and then set SUSPEND_METHODS="none"
sudo /etc/init.d/acpid restart
Any suggestion?
Thanks,