I have installed Debian wheezy on my machine with a netinst image, now I would like to deactivate the desktop and boot straight to the command line, not only that but I would like to not waste any resource on the X11/gnome/gdm at all if not needed.
I tried ( as root )
update-rc.d -f gdm remove
update-rc.d -f gdm3 remove
update-rc.d -f wdm remove
but Debian keeps booting into the login manager, I really don't need that, how I can deactivate this kind of boot and start X only when needed ?