I need to enter the command line alone with no GUI to install the official NVIDIA drivers. I'm trying to get my computer to work over HDMI and someone on Youtube shows how but you have to be in the Nvidia settings program.
If your purpose is to temporarily disable GUI - you can stop the
lightdm service ( or whichever greeter you're using ) with
sudo service lightdm stop (14.04 and earlier) or
sudo systemctl stop lightdm (since 15.04) from tty1, as shown by others already.
If your purpose to boot into command line for extended period of time between reboots, you can open
/etc/default/grub with the choice of your text editor. I personally use
nano, so for me the command would be
sudo nano /etc/default/grub. Now, find
GRUB_CMDLINE_LINUX="text". Or you can create two lines, one commented , one uncommented like so:
Once necessary, just uncomment the line for which mode you wanna enter. Upon completing editing the
/etc/default/grub file, save it, and run
sudo update-grub to make the configurations loaded into the actual
grub.cfg file. Reboot, and you should enter the command line directly.
Start by logging out and striking CtrlAltF1, then log on.
On Kubuntu stopping the GUI can be done through
sudo /etc/init.d/kdm stop. On Ubuntu this will probably be
sudo /etc/init.d/gdm stop.
Enter your password when prompted.
dm stands for Display Manager, check
ls /etc/init.d/ which
dm is available when it is not
To restart it just change
You probably automatically change to the GUI, if not strike: CtrlAltF7