0

Today I had problems with a blank screen after the log-in page of my Xubuntu. This problem was resolved by re-installing xubuntu-desktop through this process:

sudo apt-get update
sudo apt-get install xubuntu-desktop
sudo apt-get -f install
sudo dpkg-reconfigure xubuntu-desktop
sudo reboot

BUT. Before I did this, I mistakenly installed the ubuntu-desktop via the same process of:

sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get -f install
sudo dpkg-reconfigure ubuntu-desktop
sudo reboot

How do I cleanly and safely remove UBUNTU-DESKTOP while retaining my XUBUNTU GUI?

I'm still quite new Linux, and would appreciate any help! Thanks!

1 Answers1

0
echo $DESKTOP_SESSION

to make sure that you are not on ubuntu-desktop

then

sudo apt purge ubuntu-desktop
sudo apt autoremove
Zanna
  • 70,465
Vijay
  • 8,056
  • 1
    Thank you! How do I make sure this process doesn't delete any (meta) packages I'm currently using on my Xubuntu? – Lost lily Oct 10 '18 at 11:47
  • you can always reinstall xubuntu-desktop sudo apt install --reinstall xubuntu-desktop – Vijay Oct 10 '18 at 13:33