Recover your Linux OS desktop
Hey friends, In this article I am going to show you an important thing to Linux users. So this article is about recovering your desktop back if you removed the desktop accidently. Now you might think how a user can remove the desktop. And try removing python 3.8 from your Linux with linked dependencies and restart the computer you will be surprised. Just kidding don’t try it! Not only that there are many ways that can corrupt or can be deleted the desktop by user. So don’t panic if you followed this method you might be able to get your Linux desktop back. Follow below easy steps to recover the desktop in Linux OS.
So if your desktop has been uninstalled you wont be able to get a GUI interface at all. And when your computer restarts you might boot into a command prompt. But that’s not we need.
Restart your computer again and in the grub go to advanced options and boot the Linux in recovery mode
So you will be boot to the terminal which is we need to get the desktop back. So it will ask your computer credentials. provide them
Now type following commands
sudo apt update
And for Linux mint cinnamon users
sudo apt install cinnamon-desktop-environment lightdm
For ubuntu users
sudo apt-get install --reinstall ubuntu-desktop
Now it will take bit longer time to install your desktop
After installation you can restart your computer back
Now it will show your OS logo but sometimes it will stuck on boot logo. If stuck on Boot logo follow below steps
1. Restart your computer and on grub press e to edit
2. You might see quiet splash in somewhere on the screen (just search deeply it is there)
3. Now delete only quiet splash (again only that section don’t delete any other)
4. now press f10 to boot into your OS
5. And again it will boot to terminal and give your credentials
6. Now type following command
startx
Booyah! Your desktop is back. One thing you need to note is you have to do the process from removing quiet splash again when you reboot your computer. So after you get your desktop back fix the boot issue by searching on web. Or take your backups and reinstall the Linux (I don’t think you need to reinstall). So that’s it. If you have any questions please comment below.
If you want more about Linux go to https://www.linux.org/
Check my latest post from below link.