GNU/Linux Ubuntu 18.04 Recovering Desktop Guide
Hi! This tutorial will guide you step-by-step on How to Recover Desktop in Ubuntu 18.04 LTS GNU/Linux.
And this Recovery Guide for Ubuntu Desktop intend Reinstalling the Default Environment from the Shell.
Especially relevant: this issue often happen when some unmanaged Software Dependencies are present on System.
And so the first Step for solving eventual Conflicts is to Setup the advanced Package Manager Aptitude.
1. Updating Repo
First, Update the Apt Repo Sources with:
sudo apt update
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.2. Fixing Desktop
Then to Reinstall or Fix Ubuntu Desktop
First, install Aptitude with:sudo apt install aptitude
Then to Reinstall Ubuntu Desktop play:sudo aptitude install ubuntu-desktop xorg openbox
And this Command includes the X11 Server than occasionally is deleted during an Apt Packages Setup.
Next to Restart System run:sudo reboot
But if the conflicts are not solved then try again with a System Upgrade:sudo aptitude full-upgrade
In all cases try always simply to Confirm the proposed Solutions: