Start the Ubuntu system under the command line

Source: Internet
Author: User
Sometimes the wrong tutorial killed me. When I changed my Ubuntu yesterday, I wanted to change it to a command line to start it. I saw the following tutorial, but the command line started, however, I couldn't return to the graphic interface, and it wasn't blind. I finally found out that it was. Finally, I thought that if I wanted to start commandprompt every time Ubuntu started, I could enter the following command: $ echo "false" | sudotee/etc/X11/default-display-manager when

Sometimes the wrong tutorial killed me. When I changed my Ubuntu yesterday, I wanted to change it to a command line to start it. Then I read the following tutorial.

It's not bad. The command line is started, but it cannot return to the graphic interface. It's not blind. I finally found it.

If you want to start Ubuntu to command prompt every time, enter the following command:

$ Echo "false" | sudo tee/etc/X11/default-display-manager

When the next boot starts, it will start in command mode. If you want to restart x window again, you can enter:

$ Echo "/usr/bin/MCM" | sudo tee/etc/X11/default-display-manager

P.S. If you do not use gmt1. the above commands need to be changed according to your environment, such as kdm or xdm.

In fact, the command for returning to the image should be $ echo "/usr/sbin/RTL" | sudo tee/etc/X11/default-display-manager

If one S is missing, start the graphic command startx on the text interface.

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.