Ubuntu Setup command line interface and graphical interface switching method

Source: Internet
Author: User

The code is as follows:

sudo gedit/etc/default/grub

Reference:

The code is as follows:

grub_cmdline_linux= "Text"

Code:

The code is as follows:

sudo update-grub

This is modified, reboot, you will find that the graphical interface has not come out, but directly into the command line mode, if you want to enter the graphical interface again say, in the command line mode input startx, it can be.

In graphics mode, first enter the terminal:

1. Run sudo vi/etc/default/grub

2. Find grub_cmdline_linux_default= "quiet splash"

3. Change to grub_cmdline_linux_default= "quiet splash Text"

4. Run sudo update-grub

5.reboot

(The Ps:quiet representative does not show the verbose boot process; Splash represents the progress bar)

command line mode to return graphics mode, enter the command: STARTX

In turn, return to command line mode in graphics mode, press CTRL+ALT+F1 at terminal

  1. Sudo gedit/etc/default/grub

Code: grub_cmdline_linux_default= "Quiet Splash"

Change to: grub_cmdline_linux_default= "text"

Or: grub_cmdline_linux_default= "quiet splash Text"

Then sudo update-grub

  2.sudo Gedit/etc/default/grub

Setting: grub_cmdline_linux= "Text"

Then sudo update-grub

1 started without splash Flash, 2 had

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.