I have an ubuntu server which I installed ubuntu-dekstop upon.
Then i started the Gnome Desktop with "startx" command.
how do I kill Gnome so I can go back to only CLI?
how do i disable Gnome form starting when Ubuntu server starts?
You have 2 alternatives for the "kill gnome" part.
To prevent Gnome starting on the startup, use update-rc.d to remove gdm.
To get out of Gnome, click on the power-button-shaped icon (a circle with a vertical bar near the top) near the right of the top menu bar and select “Log Out”.
If you want to disable the graphical login manager, either uninstall the
You can switch back to a console using the Ctrl Alt F1 keystroke where "F1" could be any number (often F1-F6) that represents the virtual consoles that are enabled on your system. You can use F7 or F9 to return to X depending on which one your system uses.
Beware of the magic sysrq. There are some dangerous key combinations such as immediate reboot.