Date: 2023apr27
Os: Linux
Q. Fedora 38: The system will suspend now!
A. This never happened to me before.
There's all kinds of advice out there but this worked for me:
In file /etc/systemd/sleep.conf
[Sleep]
AllowSuspend=no
Restart the greeting service:
systemctl restart gdm
As the user I login as:
Settings > Power
Automatic Suspend: Off
Power Button Action: Power Off
https://jeroenverhoeckx.com/gnome-power-settings.html
That works but I still see attempts to system in the journal:
MMM DD HH:MM:SS HOST gsd-power[PID]: Error calling suspend action: GDBus.Error:org.freedesktop.login1.SleepVerbNotSupported: Sleep verb "suspend" not supported