Installing gdm3 remotely on my new server rendered it inaccessible after a while. And, it came to me that this was the second time I had been hit by this “feature”. Should had done the following before it was too late…
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target