Linux interface switch: graphical interface character Interface

Source: Internet
Author: User

1. After the hard disk-installed Linux is started on the GUI, you can use CTRL + ALT + F1 ~ 6. Switch to the character interface, and then use CTRL + ALT + F7 to switch to the graphic interface.

CTRL + ALT + F7 characters to graphics
CTRL + ALT + F6 graphics to characters
Note: For Linux installed on a virtual machine, the CTRL + ALT key is blocked on the virtual machine, and other hot keys must be used: CTRL + ALT + Shift + F1 ~ 6. Switch to the character interface. Use Alt + F7 to return to the graphic interface.
2. If you directly enter the character interface for each startup, You need to modify the ETC/inittab file and change the startup level from 5 to 3. The text below is described:

[RedHat @ localhost ~] $ VI/etc/inittab
#
# Inittab this file describes how the INIT process shocould set up
# The system in a certain run-level.
#
# Author: Miquel van smoorenburg <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by RHS are:
#0-halt (do not set initdefault to this) // stop (do not set initdefault to 0, because this will make Linux unable to start)
#1-single user mode // single user mode, just like the security mode in WINXP
#2-multiuser, without NFS (the same as 3, if you do not have networking) // multiple users, but no NFS
#3-full multiuser mode // full multi-user mode, Standard Operating pole
#4-unused // not used in general, but in some special cases, you can use it to do something.
#5-X11 // select this option, and the system will enter the graphical logon interface upon logon.
#6-Reboot (do not set initdefault to this) // restart (do not set initdefault to 6, because this will cause Linux to continuously restart)
#
ID: 5: initdefault: // if it is changed to 3, the system will be guided to the text logon prompt pure character interface.

# System initialization.
Si: sysinit:/etc/rc. d/rc. sysinit

L0: 0: Wait:/etc/rc. d/RC 0
"/Etc/inittab" [readonly] 53l, 1666c

Among them, Level 3 is the standard console pure character interface mode to enter. After modification, save and exit, and then enter the reboot command to restart the system.

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.