Disable Ubuntu server auto sleep: ================================= This will disable auto sleep on Ubuntu server laptops when screen is closed, so that it will still work. sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target Source: https://askubuntu.com/questions/513710/how-to-prevent-ubuntu-server-sleep-hibernation#954943 Date: October 31st 2022