Linux解决Graphical installers are not supported by the VM

问题:

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

posted @ 2021-08-08 10:44  明矾  阅读(780)  评论(0编辑  收藏  举报