Server Hanging After GUI install

Hi,

Ive been having some trouble installing a fresh install of ubuntu server.

My problem seems similar to the link below.

However, with the following differences.
I am using ubuntu server 22.04.2 live server amd64.
Installed on Asus ROG B650E-F Gaming Wifi.
AMD Ryzern 9 7000
2 x WD Blue SN580 2TB NVMe M.2.

The WD drives are in RAID1 setup via the Ubuntu installer (Not Motherboard or Hardware)
Ubuntu setup runs fine, once installed I will wait for cat /proc/mdstat to say sync is complete.
No problems experienced up to this point.
I will run apt upgrade and then reboot. No Problems here either.
I will then run sudo apt install --no-install-recommends ubuntu-desktop. Again nothing appears wrong. However, when I reboot ubuntu will start, run through the ‘dos’ like text then when I would expect the GUI to appear just hangs at a flashing cursor.

Any ideas where i may have gone wrong??

Dave

Hello! Welcome!

I think you’re missing some packages. Installing ubuntu-desktop doesn’t get you everything you need. Run this:

sudo apt update
sudo apt install ubuntu-desktop^

Note the caret (^) on the end. That tells apt to install the task, not just the metapackage. This will almost certainly pull in some more stuff you need.

Thanks,

That’s a new one on me, ill give it a try and let you know.

1 Like

By default server doesn’t load a GUI but usually leaves one at the login prompt. As @popey has already advised how to load the GUI.
If that doesn’t work, as in the screen acts up it might be a display manager. usually there are two available, LightDM and Slim and you ONLY need to do this if it doesnt work.
I’ll list the command for LightDM (the most common) just in case it is needed.

sudo apt install lightdm

I’m pretty sure that What I have added may not be needed at all and popey has your bases covered for a GUI.

If they’re using GNOME, and they issue apt install ubuntu-desktop^ they’ll get GDM3, not LightDM or Slim.

@popey
Then it is not needed Good Deal. Thank you for the correction.
(I generally run mine headless, so I prefer the non GUI. which explains the rust on my part)

Thank you all.
Popey’s answer did indeed work.
However my server now crashes at least once a day. Im putting the more recent problem down to one of the WD drives. I used them both in a windows setup previously with the same rate if crash.
I will try Popey’s recommendation on a couple of old school drives.

Dave