Uninstalled XRDP, now it boots to a black screen

24.01

Hi, can I have some help recovering my system please. It’s been running for over a year until I uninstalled XRDP. Now it boots to a black screen with a cursor at the top left.

I get offered these boot options via Grub -

Ubuntu, with Linux 6.8.0-52 - generic
Ubuntu, with Linux 6.8.0-52 - generic (recovery mode)
Ubuntu, with Linux 6.8.0-51 - generic
Ubuntu, with Linux 6.8.0-52 - generic (recovery mode)
Ubuntu, with Linux 6.8.0-[long number] - generic
Ubuntu, with Linux 6.8.0-[long number] - generic (recovery mode)

I can access the command prompt recovery options also.

Thanks, Lee

There is no Ubuntu version 24.01 :confused: Which Ubuntu flavor and version are you using?

What are those long numbers?

Which option are you booting at the GRUB menu?

When you get to the GRUB menu and select your chosen kernel version, press “e” key to edit boot options. At that screen, delete the boot parameters quiet and splash if present. Then boot with these modified parameters by pressing Ctrl-X. Do you now see any related messages on screen when the system doesn’t boot as expected?

If that gives you a text login you can use, check /var/log/apt/history.log to see what was removed along with XRDP?

Hi there! :wave:

Likely more than just xrdp was removed.

If you’re using Ubuntu (as in, GNOME desktop) then you can probably re-install what was removed by logging in at the terminal and then running this command:

sudo apt update
sudo apt install ubuntu-desktop^

The caret (^) is important. This should work if you are connected to a network.

1 Like

Although you mention 6.8 .0-long number, is it similar to this 6.5.0-342405280420-generic?
More info here [SOLVED] No boot after uddate - grub prompt - Page 3

Which Ubuntu flavor and version are you using?

Correction - 24.04.1 LTS

What are those long numbers?

Corrupt kernels I think. Never found out from a previous post reference by tea-for-one here.

Which option are you booting at the GRUB menu?

GRUB_DEFAULT=0

There where were a bunch of fetch errors. But the summary at the start said -

10 to upgrade
43 to newly install
0 to remove

No change to my symptom though.

is it similar to this 6.5.0-342405280420-generic?

Yes, that’s the ones.

delete the boot parameters quiet and splash if present

I didn’t see any ‘quiet’ or ‘splash’ - first time I have used this “e” on boot.

Edited the title to more accurately reflect the problem.

OK, thanks for doing that.

Assuming that your GRUB_DEFAULT=0 is kernel Ubuntu, with Linux 6.8.0-52 - generic, what happens if you boot the previous kernel 6.8.0-51?

Assuming that your GRUB_DEFAULT=0 is kernel Ubuntu, with Linux 6.8.0-52 - generic, what happens if you boot the previous kernel 6.8.0-51?

Same symptom.

Can you boot into Ubuntu, with Linux 6.8.0-52 - generic (recovery mode)?
Enable networking
Drop to root shell prompt
Press Enter for maintenance
apt update
apt upgrade
exit
Resume boot

Same symptom.

Actually, I didn’t enable networking when I ran the previous commands -

sudo apt update
sudo apt install ubuntu-desktop^

…shall I do it again?

It’s pointless to run the commands with no network connection as there will then be no way to access the Ubuntu servers to do the update.

Yes, I understand. Just asking from a troubleshooting flow.

sudo apt update
sudo apt install ubuntu-desktop^

Thank you @popey - this worked after I ran it again after enabling networking. The network was previously showing as ‘active’ when I checked before, but enabling it in the recovery menu worked.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.