Modify the ubuntu14.04 command line startup

Source: Internet
Author: User

Method 1:

Originally want to not enter Xwindows by default, just edit the file "/etc/default/grub",
Put grub_cmdline_linux_default= "Quiet splash"
Change to grub_cmdline_linux_default= "quiet splash Text"
That is, add "text" after the Grub_cmdline_linux_default entry),
Then run "sudo update-grub".

Method 2: Primarily to modify the contents of a file:

cat/etc/x11/default-display-/USR/SBIN/GDM

This shows the default content of the original file, if you want to go directly to the command line mode to comment out the/USR/SBIN/GDM, and add the new content false, the following is the modified content

cat/etc/x11/default-display-Manager  #/USR/SBIN/GDM  false

So 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 GUI again, or in the command line mode input startx, you can.

Note: Method 1 verification can be used, the first time to re-login no, the second time from the command line started ...

Method 2 is not validated

Modify the ubuntu14.04 command line startup

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.