This question already has an answer here:
I'm trying to convince Ubuntu's init system not to start X11 at boot-up. Removing
gdm did not change the fact that each time the machine restarts, X11 with Gnome comes up.
How do I get rid of it? I need to auto-login as root with no Xserver after startup. It's inteded for a very specific automation-purpose to behave like that and not meant for Desktop experience ;)