Hi, the problem happened again: i turned on the laptop and left it on the gdm login screen for a while, so the screen went black (all this with the lid closed, the laptop is connected to an external monitor and keyboard + mouse). I woke up the screen moving the mouse cursor and i typed in username and password, the login screen disappeared and the laptop went in suspend mode. I had to open the lid to continue using it.
systemd-inhibit (right after this): Who: dario (UID 1000/dario, PID 16535/gsd-power) What: sleep Why: GNOME needs to lock the screen Mode: delay Who: gdm (UID 125/gdm, PID 2865/gsd-power) What: handle-lid-switch Why: Multiple displays attached Mode: block Who: UPower (UID 0/root, PID 2402/upowerd) What: sleep Why: Pause device polling Mode: delay Who: ModemManager (UID 0/root, PID 1491/ModemManager) What: sleep Why: ModemManager needs to reset devices Mode: delay Who: gdm (UID 125/gdm, PID 2862/gsd-media-keys) What: handle-power-key:handle-suspend-key:handle-hibernate-key Why: GNOME handling keypresses Mode: block Who: GNOME Shell (UID 1000/dario, PID 16089/gnome-shell) What: sleep Why: GNOME deve bloccare lo schermo Mode: delay Who: gdm (UID 125/gdm, PID 2862/gsd-media-keys) What: sleep Why: GNOME handling keypresses Mode: delay Who: gdm (UID 125/gdm, PID 2865/gsd-power) What: sleep Why: GNOME needs to lock the screen Mode: delay Who: dario (UID 1000/dario, PID 16535/gsd-power) What: handle-lid-switch Why: Multiple displays attached Mode: block Who: Unattended Upgrades Shutdown (UID 0/root, PID 1943/unattended-upgr) What: shutdown Why: Stop ongoing upgrades or perform upgrades before shutdown Mode: delay Who: dario (UID 1000/dario, PID 16594/gsd-media-keys) What: handle-power-key:handle-suspend-key:handle-hibernate-key Why: GNOME handling keypresses Mode: block Who: NetworkManager (UID 0/root, PID 1400/NetworkManager) What: sleep Why: NetworkManager needs to turn off networks Mode: delay 12 inhibitors listed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805699 Title: System goes to sleep with external monitor and lid closed after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1805699/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs