So I have a computer running Ubuntu Server 12.04, and one operation I did needed a GUI (the application was graphical) so, being a noob, I ran:
sudo apt-get install xubuntu-desktop
This worked great and allowed me to have a GUI for the thing I needed to do, but now I can't get rid of it! In hindsight I should have just ran:
sudo apt-get install xfce4
Which would allow me to
startx into a GUI. Anyways, I've removed xubuntu-desktop and purged all related things, but when I start up the computer instead of booting tot he CLI like a normal linux server, it attempts to load up a bunch of GUI related things including LightDM and then hangs. How can I revert it to its original server ways?