I've just upgraded from Ubuntu 23.10 to 24.04 and realized that everytime I disconnect the external monitor (HDMI), the Gnome session ends abruptly and the login screen is shown. On Ubuntu 23.10 that didn“t use to happen.
I'm using wayland.
All opened apps are killed too.
How to reproduce:
- Start graphical user session (login) with external monitor connected
- Disconnect HDMI cable
Does anyone know how to fix it?
Regards