Linux system graphical interface and command line interface between the switch __linux

Source: Internet
Author: User

I. Situation where the system is not in the virtual machine

Switch to the command line interface using Ctrl+alt+f1~6; ctrl+alt+f7 switch to the graphical interface

Two. The situation of the system in the virtual machine

ctrl+alt+shift+f1~6 switch to the command line interface; Return to the graphical interface using ALT+F7

(Note: After the above method switch, the graphical interface does not close)

Three. Command mode modification

Open the terminal, type init 3, and enter.

The meaning of the number after Init:

 0-halt (do not set Initdefault to this)   //Downtime (don't set Initdefault to zero 0 because this will make Linux not start)
 1-si Ngle User mode                     //in Single-user mode, just like the security mode under WinXP
 2-multiuser, without NFS (the same as 3, if you don't have NETW orking)     //multiuser, but no NFS
 3-full multiuser mode                 //Full multiuser mode, standard operating pole, command line interface
 4-unused          //generally not, but in some special cases you can do something with him.
 5-X11                /Select this, the system will enter the graphical login interface when logging in
 6- Reboot (do not set Initdefault to this)    //reboot (don't set the Initdefault to 6 because this will keep Linux from restarting)
(note: After switching the above method, The graphical interface is completely closed. If there are files in the window that are not saved, they will be lost. You can return to the graphical interface with Init 5, but the original process is dead. Load the graphical interface at current level 3 with StartX)

Four. Each start directly into the character interface, you want to modify the Etc/inittab file, the starting level from 5 to 3 can

Terminal as root execution vi/etc/inittab open inittab file, edit save restart can

Related Article

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.