9

The login screen was fine on first boot with Nouveau but when I installed nvidia-381 from the graphics-drivers ppa and rebooted my login resolution is extremely high making the font and ui really small. I can still login just fine but it's an eyesore and I'd like to get it fixed.

In my searching for an answer I found a solution of setting my resolution through system settings and copying the monitors.xml file from my ~/.config folder to /var/lib/gdm3/.config but obviously that didn't work.

  • Ubuntu Gnome 17.04

  • Nvidia 381.09 w/ nomodeset (It won't display the login screen otherwise.) I've also tried 378.13 and it didn't work either.

  • Screen res 1360x768

https://i.sstatic.net/IfPk2.jpg

Recent update fixed the issue for me!

Start-Date: 2017-05-29 20:35:51

Commandline: apt upgrade

Requested-By: cxf (1000)

Upgrade: gnome-settings-daemon-schemas:amd64 (3.24.1-0ubuntu1, 3.24.2-0ubuntu0.1), gnome-settings-daemon:amd64 (3.24.1-0ubuntu1, 3.24.2-0ubuntu0.1)

End-Date: 2017-05-29 20:36:23

3 Answers3

9

I figured this one out! I have an Asus Q534UX with a 4k display. I noticed that my screen resolution was set to 4k, but I had my scaling set to 2 which makes the desktop usable while still in high resolution.

Once choice is to set the screen resolution to something other than 4k, but that isn't ideal especially when it's not your displays native resolution.

The answer is to do as you've said, copy the monitor.xml file to /var/lib/gdm3/.config, i.e.

sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/

Next, edit it so you change the resolution to something more reasonable in the login screen. I changed mine to 2560x1440 but that may be still a bit high. It is MUCH better.

You're only in the login screen for a bit, then when the desktop comes up the resolution and scaling goes to normal.

Save your edits and reboot to see the changes.

Sun Bear
  • 3,014
4

For Ubuntu 20.04, not only did I have to create a copy of the monitors.xml file as described in other answers, but I also had to disable Wayland at the login screen. To do this, I ran sudo nano /etc/gdm3/custom.conf, and then uncommented the line WaylandEnable=false. This forces gdm3 to use Xorg at the login screen. Restarting gdm3 with sudo systemctl restart gdm3 (which also killed my current login session) brought me back to the login screen with the expected monitor resolution.

maff1989
  • 226
  • 1
  • 4
1

It worked also for me.

sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/

To generate ~/.config/monitors.xml I had to attache an external monitor to laptop. Then boot up, and when the login screen was shown I closed the lid. Then the login screen moved to the external monitor and I could login. Then run 'Settings', open the lid again and adjust the display on the internal monitor. Then the ~/.config/monitors.xml is created and can be copied.

Mind the "s" at the end of "monitors"!

hschou
  • 121