New answers tagged suspend
Some versions of systemd refuse to suspend if you close the lid within three minutes of booting your machine, and possibly another lesser timeout after resuming. These quantities are not configurable. Could that be your problem? For tools to debug, see this post for increasing the log level to make logind actually tell you why it isn't suspending (not ...
Oddly enough xfce4-session-logout --suspend works just fine, and my system is xubuntu 14.04. It also does lock the session, although I have switched on the option "lock screen before sleep", go to Settings->Session and Startup-> Advanced, and check if it switched on there.
Top 50 recent answers are included