问题:
linux打开图形化界面报错
Graphical installers are not supported by the VM
解决:
1、修改ssh配置
vi /etc/ssh/sshd_config
确保配置如下
#AllowAgentForwarding yes AllowTcpForwarding yes #GatewayPorts no X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no #PermitTTY yes #PrintMotd yes #PrintLastLog yes #TCPKeepAlive yes
2、安装依赖
yum install -y xorg-x11-xauth #安装x11组件包
yum -y install wqy-zenhei-fonts* #安装中文字库
3、重启服务
systemctl restart sshd