Score:1

How do i get back my desktop after having purged the xserver-xorg package?

pk flag

I purged the xserver-xorg package and now when i start my laptop it shows a black screen only saying:

overlayfs: missing ‘lowerdir’

I remember when I purged the package it said that it would delete 4 packages. IIRC, two of them were kubuntu-desktop and xserver-xorg. The third being something like sdm and the last I can’t remember.

I have tried going into recovery mode at boot and repairing and it installed 4 packages, but one of them was thunderbird which I am sure wasn’t one of the packages I deleted. So it seems like I am missing one.

What do I do?

I just installed Kubuntu 21.10, and I’m very new to it all, so I hope you can help me.


Edit

I went in to boot recovery mode and chose the dpkg option. It installed some packages includen kubuntu-desktop, but it still didn't work.

I had to sudo apt install sddm, and then after i rebooted it all worked again.

guiverc avatar
cn flag
It sounds like you removed your GUI & desktop, turning your system into a text based server? Why did you remove `xorg-server` ... which mandated removal of `xorg` `kubuntu-desktop` etc..? (sdm? I gather `sddm` to you have no GUI greeter not that it matters without xorg) Your results were expected? (Kubuntu/GUI is gone as cannot exist given your purge). What were you trying to do? You've removed Kubuntu now leaving Ubuntu base (closest to a Ubuntu Server system) I'd suggest `sudo apt install kubuntu-desktop` but we can only help if provided pastes of your messages
pk flag
I listened to some advice in [here](https://askubuntu.com/questions/475972/error-couldnt-find-rgb-glx-visual-or-fbconfig-ubuntu-12-04) because of problems with glx and Steam. But that was a bad idea. I installed sddm and now it works! thank you:) Interesting experience:)
ChanganAuto avatar
us flag
You should've payed attention to the comments. I don't understand why such a poor answer gets so many votes. And the hardware is totally different than yours, unlikely anything tested there is applicable. You should've started by checking if you have the recommended Nvidia drivers and go from there.
pk flag
Well well i guess im new to this whole thing both Ubuntu and askubuntu. Thanks for your help.
Score:0
cn flag

Boot back into your recovery prompt, and reinstall kubuntu-desktop, as

sudo apt install kubuntu-desktop

This is a small metapackage configure to depend on all packages deemed essential for a functioning Kubuntu desktop. Having removed that xserver-xorg packages should have removed that metapackage as well. Reinstalling it should pull back in any critical package that is missing.

pk flag
I tried that but only after installing the sddm package as well it worked.
Score:0
my flag

Start by booting into the recovery mode.

After you are in a root shell, Run the below command:

apt install kubuntu-desktop

Information regarding the package can be find here.


If the above didn't worked for you, then run:

apt install --reinstall kubuntu-desktop^

The ^ indicates task package.


You can also install other desktop environments.

pk flag
Wierdly it seemed that after i had tried `apt install kubuntu-desktop` it installed 3 packages but it still didn't work. Only because @guiverc told me the name of the sddm package i could install it and then everything worked again:) Thanks for the help though:)
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.