machine shuts down, then restarts in a few seconds
My new desktop machine has a strange behaviour. It shuts down normally, but after a few seconds it restarts automatically.
I found the solution here. In short:
Edit the file “
/etc/default/grub” and modify this line:
GRUB_CMDLINE_LINUX_DEFAULT="acpi=noirq quiet splash"
The new thing is the “
acpi=noirq” part. Don’t forget to run “
sudo update-grub” at the end.
It solved the problem but when I hit the SPACE button on the keyboard, the machine wakes up as if I had pressed the power button. Strange, but maybe it’s normal for new machines.