I don't understand why this important and many users concerned bug (easy to solve) exists since so many years and all the discussions refer to mark something as duplicate and outdated. This bug https://gitlab.gnome.org/GNOME/gdm/-/issues/372 still exists in my fresh installation of ubuntu desktop 20.04 from yesterday. My tv is the primary screen, notebook via hdmi is open for powerbutton. Login screen appears unreadable for me on the build in notebook screen.
Asked
Active
Viewed 8,845 times
8
-
1Does this answer your question? Is there to make the login screen appear on the external display in 18.04? – llrs Dec 06 '22 at 13:17
2 Answers
11
I have fixed the problem with these line of code:
sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
It only works if the desired monitor has been marked as primary first.
Mike
- 411
-
-
1Hello from the future, currently using latest ubuntu 23.04. I tried this but it only works when you suspend. I also tried this with 22.04 as well as 22.10 both times same results. Do you know of anything else we can try to have monitor work after a reboot or power off? – Blah blah Apr 25 '23 at 20:36
-
@Blahblah, did you "chown gdm:gdm ~gdm/.config/monitors.xml" like shown in the comment above? It works for me on 23.04. Btw I did not enable Xorg for gdm by disabling Wayland in /etc/gdm3/custom.conf. – Denis Jun 03 '23 at 10:37
4
I had to do some additional steps:
If you haven't done it yet, go to Settings → Devices → Displays and set your primary monitor. Save your settings.
Open a terminal and run the following:
sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
sudo chown gdm:gdm ~gdm/.config/monitors.xml
sudoedit /etc/gdm3/custom.conf
In the file uncomment WaylandEnable=false, and save.
-
I've those settings already, and I have the same problem :( ubuntu 20.04 . I have three monitors (just in case is relevant). – titusfx Sep 04 '21 at 07:37
-
The two first commands can be merged into one with:
– Emmanuel Rodriguez Feb 24 '22 at 08:48sudo install -m 0664 -o gdm -g gdm ~/.config/monitors.xml ~gdm/.config/monitors.xml -
-
Hello from the future, currently using latest ubuntu 23.04. I tried this but it only works when you suspend. I also tried this with 22.04 as well as 22.10 both times same results. Do you know of anything else we can try to have monitor work after a reboot or power off? – Blah blah Apr 25 '23 at 20:25
-
@Blahblah I did it right now, and at least for me, it worked, I'm using ubuntu 22.04, I didn't disabled Wayland, have you checked if the
<primary>tag is set in the right display? – André M. Faria May 07 '23 at 19:23