If your user account is configured to not suspend, you could copy the settings over to GDM like this:
IFS=$'\n'; for x in $(sudo -u username gsettings list-recursively org.gnome.settings-daemon.plugins.power); do eval "sudo -u gdm dbus- launch gsettings set $x"; done; unset IFS where 'username' is your username. (You can ignore the "No protocol specified" errors) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1874219 Title: PC suspends after 20 minutes at the login screen Status in gnome-control-center package in Ubuntu: Invalid Status in gnome-settings-daemon package in Ubuntu: Invalid Bug description: Same as LP: #1759325 in Bionic, but this time affecting Focal. After some update in the last month, my desktop PC now suspends after 20 minutes at the login screen. I was able to override the setting for my user account by adjusting the power settings in gnome-control-center. I see no obvious way of overriding the default for the system. Asking on IRC, I was pointed at LP: #1868260, but got no response there. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1874219/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp