GDM does not return to sleep mode when my session is locked. Normally, when my session is not locked, my laptop goes to sleep mode after 15 minutes, but if GDM is active, rather than my unlocked session, it just doesn't...

So for instance, if I just hit a key to watch the hour or whatever, it wakes up and stays awaken, and then drains all the battery if I forget to re-suspend it manually...

How can I change that behaviour?

I have an Ubuntu 18.04 install, upgraded from 17.10.


Edit :

It seems it could come from a missing configuration in /etc/systemd/logind.conf, especially IdleAction and IdleActionSec which could be set to 'suspend' and '15min' for instance. I haven't changed anything yet, if someone knows better about logind, I am taking your advices !!

  • askubuntu.com/q/1041774/739431 can you go through this. Seems it's a issue while updating from 17.10 to 18.04 – PRATAP Jun 3 '18 at 12:46
  • @PRATAP It doesn't seem to be related to my bug... Can you explain your thoughts ? – Johannes Lemonde Jun 3 '18 at 13:48
  • Is reinstalling gdm a good solution? It doesn't seem to me a great idea to remove gdm, even if I reinstall it afterwards; I fear, things could get broken, but maybe someone knows better than I do. – Johannes Lemonde Jun 3 '18 at 13:51
  • Hi, you can try a safe way.. go to gnome-look.org website and download gdm3 theme which has step by step instruction how to install gdm3 themes. (some does not have instructions) It could solve the issue in a safe way. – PRATAP Jun 3 '18 at 13:56
  • @PRATAP How could a theme resolve my problem? Mine is linked to sleep mode and not working automatic suspending from gdm3.... – Johannes Lemonde Jun 3 '18 at 14:01

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.