By default, UBUNTU starts the command line interface (tty1)

Source: Internet
Author: User

In graphic mode, first enter the terminal:
1. Run

Sudo Vim/etc/default/GRUB


2. Find

Grub_cmdline_linux_default = "quiet Splash"


3. Change

Grub_cmdline_linux_default = "quiet splash text"

(PS: Quiet indicates that the detailed startup process is not displayed; splash indicates that the progress bar is displayed)


4. Run

Sudo Update-grub


5. Reboot: the command line mode (tty1) can be started by default)
6. In command line mode, you must start the graphic mode and enter the following command:

Sudo startx


7. Return to command line mode in graphic mode. Press CTRL + ALT + F1 (tty1) and CTRL + C to disable the graphic mode.

 

8. Modify/etc/default/grub and return to the graphic interface.

Sudo Update-grub

When you restart the logon interface, enter the correct password. The password is only flashed and cannot enter the graphic interface. solution:

CTRL + ALT + F1 enter tty1, log on

Rm-RF ~ /. Xautheritysudo reboot

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.