On startup lock screen appears on laptop monitor

Hi, I'm using the latest version of ZorinOS on my laptop.

I have a 3 monitor setup (2 external monitors and 1 laptop monitor) I only use the two external monitors and the laptop monitor is turned off and is on the side of my desk not pointed towards me (for cable management).

My primary screen is set to one of my external screens

Every time I start my PC the lock screen appears on the laptop screen which is really annoying, I cannot see my laptop screen so I have to guess when I have to press enter to login. Once I login my screens work as normal.

This does not happen when I suspend or lock my screen only on startup.

How can I fix this?

You could use auto login in settings.

I'd rather still have to input my password. I use my laptop at home and in public spaces.

This is yet, another Wayland issue at least in Part.
Gnome is set to default display login or lockscreen on the Notebook Computer display, regardless of the setting for Primary.
In addition to this, Wayland is incapable of overriding this.

Switching to X11 (Xorg) which was always the default prior to Zorin OS 17, a user can then use Xrandr to workaround Gnomes default
Find your external monitors Identifier:

xrandr --query

Then adjust the configuration file. Replace ExternalMonitor with the identifier you got above:

sudo nano /etc/X11/xorg.conf.d/10-monitor.conf

Section "Monitor"
    Identifier "ExternalMonitor"
    Option "Primary" "true"
EndSection

Section "Device"
    Identifier "Intel Graphics"
    Driver "intel"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Intel Graphics"
    Monitor "ExternalMonitor"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

Tap ctl+o to overwrite, then tap enter to save current configuration. Tap ctl+x to exit.

Reboot to test...

You may need to disable Wayland

sudo nano /etc/gdm3/custom.conf

WaylandEnable=false

Can't disabling wayland cause issues in the future? I'm kind of a linux noob so I don't want to fiddle too much.

Note the alternative Xorg windowing was the default, not Wayland, prior to Z17.
I cant see disabling Wayland being a future issue, but I guess you could always re-enable it if needed.

1 Like