pre:

1.安装server

2.~/.bashrc中force_color_prompt前去掉注释,console带颜色

3. /boot/grub/grub.cfg中linux那行 ro后添加 vga=791,console为1024x768

3.安装xorg or gdm3

4.安装gnome-core

 

# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section

vi /etc/default/grub
add vga=788
sudo update-grub2