I use 2 monitors on Ubuntu 20.04, let’s call them "Old" and "New". Sometimes I only need "New". They seem to work well with following exception:
- When the computer is starting, no matter what option I use, the login screen always appears on the "Old", even if I select "New" in the "single display option". How can this be fixed?
- Just did a fresh install of Ubuntu 20.04.
- My monitors are both iiama.
- "New" is identified by the system as being monitor n°1 and "Old" as monitor n°2.
- Already tried setting one and then the other as the Primary Display.
- Already re-arranged monitors position (this was an issue on ubuntu 14.04 which was what I had) and put "New" both to the left and to the right.
Thanks to the links suggested by PRATAP I was able to solve this problem. There were several solutions but the only one that worked for me was (quoting from the solution):
sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
sudo chown gdm:gdm ~gdm/.config/monitors.xml
And in the /etc/gdm3/custom.conf uncomment WaylandEnable=false (basically remove the # before Wayland)
sudo gedit /etc/gdm3/custom.conf
IMPORTANT!: some of the users referred they had to go into recovery mode to revert this situation because they only got a blank screen and were unable to login. This was not my case as everything worked fine for me.
For more information look at the links mentioned by PRATAP, specially the second one, there are other solutions proposed but they didn’t work in my case.