Rocky 9.8 update breaks gui access

Just did the 9.8 update.

Updates to unixODBC and alsa failed so I deleted them to make the rest of the update work.

Now, when I reboot, I have no gui access; only simple terminal access.

How do I fix this and regain gui access?

What GUI breaks? Too generic and not enough info for anyone to help. Check your log files for more info as well that may help people help you. Using xorg or wayland? Gnome, KDE, Cinnamon? Something else? Without more detail in what you are using we cannot provide an answer.

I also deleted your duplicate post with the same question. It won’t help get your problem solved quicker. A better way to get a problem solved is provide a lot more info relating to the problem.

All gui has gone.
When I turn on the box, I see the boot menu. Whatever I choose, I get a text-mode login prompt.
I can login but know no way to invoke any gui interface so doing anything real is virtually impossible.
The messages log has 93000 lines and I have no idea what to look for in them that might explain the problem.

There is no package with exact name “alsa”, but for example the package alsa-lib is required by many packages (like parts of Gnome).
I would not be surprised if important parts of “GUI” were removed.

What was actually removed with the “unixODBC and alsa”?
(One can access the answer to that via dnf history commands)


dnf group install Workstation

Should (re)install packages of the default Gnome GUI packages.

It was alsa-lib (and alsa-lib-devel) that I deleted.

I have reinstalled them and Workstation but to no avail. Still character-mode only.

(Apologies for the initial dual post. I logged in and could only see two drafts so assumed that my post had not happened. I find adding new posts here surprisingly difficult.)

The package removal might have changed config. What do you get with:

systemctl get-default

systemctl get-default gives graphical.target

As an experiment, I tried starting firefox from the command prompt.

First try gave “Error: cannot open display:”

I set DISPLAY=:0.0 and tried firefox again. Gave “Error:cannot open display: :0.0”

Fixed!

I checked systemctl status gdm and found that it was disabled.

Enabling and starting gdm fixed everything.