I'm using a USB-C hub to connect power and a hdmi external display to my laptop, which means easy connection with one cable. However, whenever I connect it gnome will revert me to the login screen. And after I log in all my windows are gone, it's a new session.
Also, often when I disconnect the monitor, the system will restart.
I've tried disabling extensions but no difference.
Any Ideas?