I wanted to switch to Xfce (I had KDE and GNOME installed), and I did this :
sudo apt-get install xubuntu-desktop
sudo apt-get remove kubuntu-desktop
sudo apt-get remove ubuntu-desktop
sudo apt-get autoremove
but to my surprise, I could still pick gnome, kde plasma, etc during the log in.
So, how do I completely remove KDE and GNOME desktops?