Score:4

Login page doesn't appear

br flag

Whenever I boot my laptop, my Ubuntu 20.04 doesn't show login page and just shows a cursor in a black screen.

I find out by pressing Ctrl+Alt+F2 and then pressing Ctrl+Alt+F1, the login page appears.

How can I fix it?

Score:4
br flag

from the archwiki https://wiki.archlinux.org/title/GDM

GDM does not start until switching TTY and back

If, after booting, the screen stays black and GDM does not start until changing to another TTY and then back to TTY1, it may be because GDM is being attempted to run before GPU driver is loaded.

One possible solution is adding your GPU driver module to be built into initial ramdisk with mkinitcpio, by adding the module name into MODULES entry in /etc/mkinitcpio.conf. Make sure that initcpio files get generated afterwards.

An alternative walkaround is to add delay to GDM service file.

# systemctl edit gdm

[Service]  
ExecStartPre=/bin/sleep 1

try to run the below command to edit the gdm file

sudo systemctl edit gdm

put above two lines below the last lines of the opened file. If delay of 1 sec is not working try to increase the delay.

save and restart the gdm with below command

sudo systemctl restart gdm
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.