In case you are still failing to set GDM display resolution/scaling/multi-monitor setup to same as Gnome desktop

I know that this topic has been covered by others many times, but in my case on Fedora 44 Workstation Edition, the common fix I kept finding which is using or something like

> sudo cp -f ~/.config/monitors.xml ~gdm/.config/monitors.xml
> sudo chown $(id -u gdm):$(id -g gdm) ~gdm/.config/monitors.xml
> sudo restorecon ~gdm/.config/monitors.xml

to copy my monitor setup to GDM

~gdm/.config/

was not working for me. I found another slightly modified solution. Its practically the same only thing is we add a new destination to this. I found this out from an article by

James Cherti - Linux: Setting the default GDM login monitor in a multi-monitor setup using GNOME display settings Linux: Setting the default GDM login monitor in a multi-monitor setup using GNOME display settings | James Cherti

Read the article for a deeper explanation but basically

Legacy location

> sudo mkdir -p ~gdm/.config/
> sudo install -o root -m 644 ~/.config/monitors.xml ~gdm/.config/

New location

> sudo install -o root -m 644 ~/.config/monitors.xml /etc/xdg/monitors.xml

for me running these commands worked when the monitor config was placed in the new location

/etc/xdg/

as the article advised.

Hope this also works for you.

weired, I need to do this:
sudo cp ~/.config/monitors.xml /var/lib/gdm/seat0/config/

Hmm, I didn’t need to do that but if it worked for you that’s great when the next person faces something similar, and they find this, hopefully it will work for them too :slight_smile: