Ubuntu Server 24.04 suspending

When I login into the server via ssh from my ubuntu desktop 2404 I get this message after 15 minutes:

Broadcast message from gdm@server on tty1 (Sat 2025-11-01 12:11:01 AEST):

The system will suspend now!

I have looked at the /etc/systemd/logind.conf and /etc/systemd/sleep.conf files. Both these files seem to be the default with all the commands commented out.

So I don’t know what is causing this issue.

Hi,

I moved your post to Support and Help, adding tags.

Please note that the Project Discussion categories are for conversations not technical support.

Thanks

That implies to me you’ve converted your Ubuntu Server system into a Desktop system, thus the system will suspend on inactivity (eg. no mouse & keyboard movement etc), as Desktop defaults differ to Server defaults.

GDM is the GNOME Display Manager; it’s not used by Server installs, being part of the GNOME Desktop. If you do have desktop packages installed (you mention only Server), your system also now has desktop settings that use different configurations.

(If it’s not suspending; the GNOME suspend call on inactivity was possibly blocked by your server config)

2 Likes

Thanks.
I did install Desktop system on the server briefly , then uninstall it before I went on holidays.
I must have not completely uninstalled it, but I have cleaned it up now.
:ok_hand: