Linux boot into the graphical interface

Source: Internet
Author: User
Method 1: There are several interfaces when linux is started. Generally, there are seven interfaces, one of which is the GUI and the other six is the console interface (command input ). ID: tty1 ~ Tty7. Shortcut keys for switching between interfaces: [Alt + Ctrl + function key Fn] (n1 ~ 7) or [Al... method 1: There are several interfaces when linux is started. Generally, there are seven interfaces, one of which is the GUI and the other six is the console interface (command input ). ID: tty1 ~ Tty7. Shortcut keys for switching between interfaces: [Alt + Ctrl + function key Fn] (n = 1 ~ 7) or [Alt + Ctrl + shift + function key Fn] (n = 1 ~ 6) and [Alt + F7] each console interface needs to be logged on again. Because only the graphic interface is logged on. Method 2: Of course, with the graphic interface, many people will feel that it is very painful to use the full console mode. In the graphic interface, you can find the system tool and terminal in it to use the console shell in the graphic interface. just like using cmd in windows, it is in line with the habits of people who use windows. Method 3: Some people may not want to get used to the graphic mode. Instead, they are used to the dos command mode. how can they go on to the console mode instead of the graphic interface? Let's look at it. This is because the Linux operating system has six different running levels (see the description in the/etc/inittab file). at different running levels, the system has different statuses, these six running levels are: [cpp] # Default runlevel. the runlevels used by RHS are: #0-halt (Do NOT set initdefault to this) #1-Single user mode #2-Multiuser, without NFS (The same as 3, if you do not have networking) #3-Full multiuser mode #4-unused #5-X11 #6-reboot (Do NOT set initdefault to this) #0: stop (remember not to set initdefault to 0, because Will make Linux unable to start) 1: Single user mode, just like the security mode in Win9X. 2: multiple users, but not NFS. 3: full multi-user mode, standard operation level. 4: it is generally not used. in some special cases, you can use it to do something. 5: X11, which means entering the X-Window system. 6: Restart (remember not to set initdefault to 6; otherwise, Linux will be restarted continuously). That is to say, there are 6 startup methods in linux. Mode 5 is used in the graphic interface, mode 3 is used to enter the console interface. The current graphic interface operating system is started in Mode 5 by default. To enable the Linux system to directly enter the character operation mode on the console after startup, we can configure the/etc/inittab file. Change id: 5: initdefault: This line is id: 3: initdefault: after the system is restarted, you can directly enter the console character operation interface at 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.