As a workaround, I've done the following: sudo -u gdm dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac false sudo -u gdm dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0 sudo -u gdm dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery false sudo -u gdm dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 1800
Which gives me: $ sudo -u gdm gsettings list-recursively org.gnome.settings- daemon.plugins.power | grep inactive org.gnome.settings-daemon.plugins.power sleep-inactive-ac false org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0 org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'suspend' org.gnome.settings-daemon.plugins.power sleep-inactive-battery false org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 1800 org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'suspend' That works well in a pinch, but it's definitely not user-friendly. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/860227 Title: greeter session puts the host to sleep after 30 minutes idle Status in “gdm” package in Ubuntu: Confirmed Bug description: Since version 3.x, on a fresh install, GDM uses the gnome-power- manager defaults as-is for its greeter session. This has the unfortunate consequence of putting the host to sleep after 30 minutes, which is not desirable in a situation when the same host is meant to provide network services. This wouldn't be such a problem if there was an easy way for the user to change this, but this is not the case since GNOME 3 and its big migration to dconf. There isn't any dedicated tool to adjust GDM defaults available yet and 'gksu -u gdm gnome-control-center' won't work either because it tries to access display :0. ProblemType: BugDistroRelease: Ubuntu 11.10 Package: gdm 3.0.4-0ubuntu11 ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4 Uname: Linux 3.0.0-12-generic i586 ApportVersion: 1.23-0ubuntu1 Architecture: i386 Date: Tue Sep 27 06:25:14 2011 ProcEnviron: LANGUAGE=fi:en PATH=(custom, user) LANG=fi_FI.UTF-8 SHELL=/bin/bashSourcePackage: gdm UpgradeStatus: Upgraded to oneiric on 2009-02-07 (961 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/860227/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

