I have an Linux (Ubuntu) virtual machine that's been setup as a desktop; it starts X and the full UI. I only need it as a server (will be accessing it via ssh) and am looking to reduce the memory footprint.
What's a good way to prevent X from starting when the machine boots?
Update: ended up going with:
sudo mv /etc/rc2.d/S30gdm /etc/disabled-S30gdm
via the link in Evan Anderson's answer.