After the xManager is installed on a Redhat5 VM, a user modified the internal file /etc/inittab. Then, the user restarted the VM and set up a VNC connection. Artifacts appeared, as shown in Figure 1.
The user set up an SSH connection to the VM, and the problem did not occur. Then the user ran the init 3 && init 5 command, and artifacts disappeared, and the following error message is displayed:
INIT:Id "x" respawning too fast,disabled for 5 minutes
Do not modify the /etc/inittab file when installing third-party software.
If the file has been changed and the preceding problem occurs, perform the following steps:
1. Use putty or other tools to connect to the VM.
2. On the command line interface, run the following command to open the /etc/inittab file:
3. Add the following information to the file, as shown in Figure 2.
Figure 2 Fixing the configuration file /etc/inittab
4. Save and close the file, and restart the VM.
The configuration file /etc/inittab is invoked when the GUI is started on a VM. Incorrect change of the file will cause GUI startup failure.
You are advised to use VNC, instead of other third-party software, to connect to the VM.