In virtualPC, the installation of RedHat9.0 has the problem of flat screen. I first thought it was a pixel setting problem. I checked it online. It is because VPC does not support Linux's 24 colors and only uses 16 colors, in Linux, the default value is 24 colors and 1. Restart the Virtual Machine VPC. After grub appears, press "e" on the installed system and the grub configuration file appears, move the cursor to the second line ......", Press "e", add a space single at the end of the line, and then press "B" to restart,
In the virtual PC environment, the installation of RedHat9.0 has the problem of flat screen. I first felt that the pixel settings were incorrect. I checked it online. It was because VPC does not support Linux's 24 colors and only uses 16 colors, linux uses 24 colors by default.
1. Restart the Virtual Machine VPC. After grub appears, press "e" on the installed system and the grub configuration file appears, move the cursor to the second line ......", Press "e", add a space single at the end of the line, and press "B" to restart. Then, the "single user mode" is entered ".
2. Enter vi/etc/X11/XF86Config at the prompt, open the file, and enter "/Screen" (case sensitive ), then the program will display the relevant configuration. Similar to the following code:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Then, press the "I" key to enter the insert mode. Here, use the keyboard to move 24 to 16, Press ESC, and press right Shift + :, enter "wq" and press enter to save the disk and exit. Enter "init 6" and restart. Is the graphic interface ready?