There are two methods: 1. Switch to another text interface (Alt + Ctrl + F1 ~ 6) After logging in, you can use this command: killall x
2. VI/etc/inittab
Change default5 to default3
If you want to prevent the system from logging on to the image and directly entering the character state after the startup, you can modify the/etc/inittab file as follows (KDE operation ):
Right-click the/etc/inittab file and select the advanced editor to open the file. The following content is displayed:
#
# Inittab & nbsp; this file describes how the INIT process shocould set up
# & Nbsp; the system in a certain run-level.
#
# Author: & nbsp; Miquel van smoorenburg,
# & Nbsp; modified for RHS Linux by Marc Ewing and Donnie Barnes
# <P> # default runlevel. The runlevels used by RHS are:
# & Nbsp; 0-halt (do not set initdefault to this)
# & Nbsp; 1-Single User Mode
# & Nbsp; 2-multiuser, without NFS (the same as 3, if you do not have networking)
# & Nbsp; 3-full multiuser Mode
# & Nbsp; 4-unused
# & Nbsp; 5-X11
# & Nbsp; 6-Reboot (do not set initdefault to this)
#
ID: 5: initdefault: <p> change 5 in the last row to 3, so that the system does not log on to the image. I will also introduce the other numbers:
0: stopped (do not set it to the default startup level)
1: single-user mode
2: multiple users, no NFS (If you do not configure the network, this level is the same as 3)
3: full multi-user mode
4: Do not use
5: X11 graphic mode
6: restart (do not set it to the default startup level)