I Install Cinnamon on my vps but I don't like it I want uninstall it and install Xfce instead of it, I use this tutorial and use below command:
sudo apt-get purge --auto-remove cinnamon cinnamon-common gir1.2-accountsservice-1.0 gir1.2-caribou-1.0 gir1.2-clutter-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-gconf-2.0 gir1.2-gdesktopenums-3.0 gir1.2-gkbd-3.0 gir1.2-gnomedesktop-3.0 gir1.2-json-1.0 gir1.2-muffin-3.0 gir1.2-polkit-1.0 gir1.2-upowerglib-1.0 gir1.2-xkl-1.0 gjs libcaribou-common libcaribou0 libgjs0c libjs-jquery libmozjs185-1.0 libmuffin0 mesa-utils muffin-common
and get "cinnamon just crashed you are currently running in Fallback Mode." error, it doesn't uninstall it, also I install xfce using below command:
sudo apt-get install xubuntu-desktop
but I don't know how switch between this environment using command line. I use xrdp.