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!

Lost lily
  • 3
  • 2
  • 2
    Possible duplicate of [How to I change from Ubuntu to Xubuntu?](https://askubuntu.com/questions/65861/how-to-i-change-from-ubuntu-to-xubuntu) – Daniele Santi Oct 10 '18 at 11:33

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
  • 69,223
  • 56
  • 216
  • 327
Vijay
  • 7,606
  • 3
  • 17
  • 34
  • 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