Because Centos6 runs on a virtual machine and the computer is relatively slow, you must first switch the GUI off to the root user. [root @ bogon ~] # Supassword // enter root password 1 to disable the graphic interface: [root @ bogon ~] # Init3 // Close the graphical interface (XServer service is also
Because Centos 6 runs on a virtual machine and the computer is relatively slow, you need to disable the graphic interface.
First, switch to the root user,
[Root @ bogon ~] # Su
Password // enter the root password
1. disable the graphic interface:
[Root @ bogon ~] # Init 3 // Close the graphical interface (the XServer service will also be closed)
2. enable the graphic interface:
[Root @ bogon ~] # Init 5 or
[Root @ bogon ~] # Startx // enter the first graphic interface (if there are multiple)
3. the X Window is not entered by default when the instance is started:
[Root @ bogon ~] # Vim/etc/inittab
Find id: 5: initdefault:
Changed to id: 3: initdefault:
Restart.