Two methods for logging on with command line when Ubuntu is started

Source: Internet
Author: User
Two methods for logging on to Ubuntu at the command line are provided. Although Linux kernel-based Ubuntu is very easy to operate on the GUI, it greatly reduces the boot speed. As a result, many Ubuntu users still want to use the traditional command line character model after the boot...
Two methods for logging on to Ubuntu at the command line are provided. Although Linux kernel-based Ubuntu is very easy to operate on the GUI, it greatly reduces the boot speed. As a result, many Ubuntu users still want to log on to the system in the traditional command line character mode after the boot, the main purpose is to speed up the boot speed, the following two methods are provided for Ubuntu users to log on to the Ubuntu system through the command line interface. Www.2cto.com I recommend the third method. you can use the same method to change it back. Method 1: Ubuntu started to use upstart to replace init in earlier versions. its main scripts are in/etc/event. d. By default, there is no inittab file in/etc. Therefore, we create an inittab under/ect/, write id: 3: initdefault:, and then enter/etc/rc3.d, move S13kdm to another directory for backup, and restart the system, in this case, the command line character logon interface is displayed. Www.2cto.com Method 2: First install sysv-rc-conf, that is, enter the command: sudo apt-get install sysv-rc-conf; then run sysv-rc-conf, enter the sudo sysv-rc-conf command to run the command, and then locate the two groups of the options. remove and select the target group. Friendly reminder: After restarting Ubuntu and entering the command line character logon interface, if you want to return to the graphic environment again, you need to use telinit 3 instead of startx. Method 3: modify the/etc/X11/default-display-manager File. the original value is/usr/sbin/TPD, indicating that the graphic interface is displayed by default. Change to false to enter the console. Run the sudo gedit/etc/X11/default-display-manager command to change the file as follows: #/usr/sbin/mcm www.2cto.com false. When Ubuntu is started, it enters the command line and the graphic interface is not started. Saves more than 100 MB of memory. To start the graphic interface, use the startx command.

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.