Connecting an external display GDM login screen is shown
Using Debian sid/unstable with gnome-shell 42.1-1, running a GNOME Shell session and connecting an external display (in this case over HDMI), the screen switches to the GDM login screen. Selecting the user there, and entering the password, it switches back to the running session.