Score:0

Ubuntu (20.04.2.0 LTS) boots into complete, unresponsive black screen after attempting to restart display-manager (gdm3) from command prompt

in flag

Ubuntu 20.04.2.0 LTS desktop installation:

Following guidance from this post's accepted answer:

How to restart X Window Server from command line?

I ran:

sudo systemctl restart display-manager

(it may be useful to know that the tab autocomplete suggested adding .service to the end, but I did not do so)

My screen went black and unresponsive, perhaps I should have been more patient but after about a minute I decided it wasn't coming back on its own and hit the hardware reset button on my PC. Since then, when booting into my Ubuntu installation I am met with a completely black screen with no cursor. Attempting to log in to a TTY is completely ineffective, my only recourse so far is to restart into BIOS.

I have managed to get the installation media running with the drive holding my inaccessible OS mounted. A comment in the linked post's accepted answer had the same problem and indicated that the solution involved restarting the service from terminal. Naively attempting that approach from the installation media (the commenter did not provide a command), running the command again from the installation drive:

sudo systemctl restart display-manager

simply restarts the display manager in the installation environment (but does so in this case without bricking anything else and actually coming back). The OS still boots into a black screen.

I do not wish to re-install in any capacity if I can avoid it.

Additional information:

Output of cat etc/systemd/system/display-manager.service

[Unit]
Description=GNOME Display Manager

# replaces the getty
[email protected]
[email protected]

# replaces plymouth-quit since it quits plymouth on its own
Conflicts=plymouth-quit.service
After=plymouth-quit.service

# Needs all the dependencies of the services it's replacing
# pulled from [email protected] and plymouth-quit.service
# (except for plymouth-quit-wait.service since it waits until
# plymouth is quit, which we do)
After=rc-local.service plymouth-start.service systemd-user-sessions.service

# GDM takes responsibility for stopping plymouth, so if it fails
# for any reason, make sure plymouth still stops
OnFailure=plymouth-quit.service

[Service]
ExecStartPre=/usr/share/gdm/generate-config
ExecStart=/usr/sbin/gdm3
KillMode=mixed
Restart=always
RestartSec=1s
IgnoreSIGPIPE=no
BusName=org.gnome.DisplayManager
StandardOutput=syslog
StandardError=inherit
EnvironmentFile=-/etc/default/locale
ExecReload=/usr/share/gdm/generate-config
ExecReload=/bin/kill -SIGHUP $MAINPID
KeyringMode=shared
ExecStartPre=/usr/lib/gdm3/gdm-wait-for-drm

Edit:

After fiddling around in recovery mode, I am able to boot into the system’s TTY if and only if GDM3 is not the active display manager and normal boot is performed through the recovery mode menu (the “resume” option). Despite reinstalling ubuntu-desktop and a new display manager the best I can do is get into TTY through recovery mode.

Score:-1
in flag

The issue was coming from an error parsing this file:

/usr/share/X11/xorg.conf.d/70-wacom.conf

I started a section and failed to include the EndSection suffix. Fixing this config file completely fixed my issue.

user7778287 avatar
in flag
Meep morp zorp. I hope that's clear enough for you.
U.V. avatar
cn flag
thats a pity. same broblem different cause ;)
Gerry avatar
eg flag
So you're not going to say how you found that cause? :(
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.