I want to login to Ubuntu through command line which will then redirect me to GUI, is there any way to do this?
Asked
Active
Viewed 648 times
0
-
possible duplicate of How do I boot into the console and then launch the Ubuntu desktop from it? – karel Apr 17 '15 at 04:59
1 Answers
0
To boot straight to the command line you need to modify GRUB.
- Edit grub config file
sudo nano /etc/default/grub - Change the option
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"to readGRUB_CMDLINE_LINUX_DEFAULT="text" - Save the file and exit CTRL+X, press Y and then ENTER
- Type
sudo update-grubfrom the terminal to update the GRUB bootloader with your new configuration. - Reboot and you should be presented with a terminal instead of X.
- Type startx to load the default shell.
ash
- 1