Monday, December 16, 2019

How to start ubuntu in command line interface

I want to set my ubuntu PC to command line interface. I don't want to start the desktop manager.

1. Edit /etc/default/grub

2. Find this section:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
3. change to:
GRUB_CMDLINE_LINUX_DEFAULT="text"
GRUB_CMDLINE_LINUX="3"

 4. run: sudo update-grub

5. Done. Every time we start the PC, it doesn't start the desktop manager automatically. If we want to start the desktop manager, run: sudo init 5


* My machine ubuntu 18.04

No comments:

Post a Comment