After clicking logout or switch user, once the system reaches the greeter/login screen, input devices -- keyboard, mouse, touchpad -- stop working, making it impossible to login back or shutdown.
laptop: HP G42
Ubuntu: 18.04 LTS
Initially I thought the system is frozen, but log shows that it still respnds to lid open/close, usb plug/unplug events, scheduled background tasks etc. Only the input devices, both onboard and external, are not usable. There's an external monitor attached to the laptop, and it shows the greeter and changes when lid is open or closed.
What works:
- logging in during fresh boot. Keyboard and mouse work at the greeter.
- Suspend/resume, lock/unlock screen. I'm able to enter password and get back to my session.
- shutdown/restart while logged in.
What doesn't work:
- logout
- switch user
Here is a portion of journalctl
log with my comments: https://gist.github.com/ananthp/3cfe807c7e0d6fd0dad170b3e55e9975
--
Looks like it's gdm3
that gets stuck. Workaround is to restart gdm3:
- remote login to the machine using ssh
sudo systemctl restart gdm3.service
Is there a way to fix this, or should I consider changing my display manager?