Login screen appears on second monitor [duplicate]
772
After I choose Ubuntu from the GRUB menu which appears on the primary monitor, the login screen appears on the second monitor which is something that I don't want.
How can I prevent this, so that everything appears on the primary monitor?
In /etc/gdm3/custom.conf changing from #WaylandEnable = false to WaylandEnable = false solved the issue.
UPDATE
The same things happen on Ubuntu 20.04 LTS Focal Fossa, gdm somehow does not recognize which monitor is set as primary and the login screen appears on second Monitor.
Ubuntu 18.04 login screen Display settings
Copying the file
monitors.xml
from/home/user/.config
into/var/lib/gdm3/.config/
andIn
/etc/gdm3/custom.conf
changing from#WaylandEnable = false
toWaylandEnable = false
solved the issue.UPDATE
The same things happen on Ubuntu 20.04 LTS Focal Fossa, gdm somehow does not recognize which monitor is set as primary and the login screen appears on second Monitor.
Copying only monitors.xml solves the issue