Turn on the text interface, switch from the text interface to the graphical interface: Method 1: Run the command #startx, you need to configure the graphical interface information, (temporarily not ~)
; Method 2: Modify Id:3:initdefault in the/etc/inittab file, change 3 to 5
, reboot the system; in a real-world environment, switch between the graphical interface and the text interface: Ctrl+alt+f (n), where F (n) is f1-f6 and 6 consoles;
CTRL+ALT+F7; virtual machine environment, switch between GUI and text interface:
Under VMware virtual machines, the graphical interface switches to the text interface, and the virtual machine settings, the default VM occupies Ctrl+alt as a hotkey, so the combination of switches from the graphical interface to the text interface is:
Ctrl+alt+shift+f (n), where F (n) is f1-f6; The key combination of switching back from the text interface to the graphical interface is: ALT+F7;
Switch between different console interfaces in the text interface: Alt+f (n), where F (n) is F1-f6 and is 6 consoles;
---------------------------------------------------------
Brother Bird's private dish, say ctrl.
+ Alt + F1~f6ctrl + Alta + f7/f8
Switch to the graphical interface but why is my redhat not cut to the command line interface? Internet search, the result is as follows, but still can't cut over? Look again. 1.
X-window graphical interface and character interface free switch One, the graphical interface switch to the character interface
① in the X-window graphical operator interface, press "ALT+CTRL+FN (n=1~6)" To enter the console character operator interface. This means that you can also have X-window plus 6 console character operator interfaces.
② if not, add the Backspace key: (Press and hold Alt+ctrl at the same time, press the Backspace and release, and then press Fn) in the X-window graphical operator Interface Press "ALT+CTRL+BACKSPACE+FN (n=1~6)" You can enter the console character operator interface.
Second, the character interface switch to the image interface
① Press "Alt+ctrl+f7" or "Alt+ctrl+backspace+f7". At this point, Linux opens 7 screens by default, numbered Tty1~tty7. After the X-window is started, the Tty7 screen is occupied, and the Tty1~tty6 is still the character interface screen. Also
That is, the "ALT+CTRL+FN" combination can be used to achieve the character interface and X Window interface fast switching. 2. Boot into character interface settings
In order to enter the console character interface directly on Linux boot, we can edit the/etc/inittab file. Find Id:5:
Initdefault: This line, change it to Id:3:initdefault: then reboot the system. We see that simply changing 5 to 3 will enable the conversion to enter the X-window GUI or console character interface at startup, because there are six types of Linux operating systems that do not
At different run levels, the system has a different state, with six operating levels: 0: Downtime (remember not to put Initdefault
Set to 0 because this will make Linux fail to boot) 1: Single-user mode, like Safe mode under Win9x. 2: Multi-user, but no NFS.
3: Full multi-user mode, standard run level. 4: Generally not, in some special circumstances can use it to do some things. 5:x11, that is, into the X-window system.
6: Reboot (remember not to set Initdefault to 6, as this will cause Linux to restart continuously).
Where run Level 3 is the standard console character interface mode we want to enter.
Linux graphical interface switch