阿里云ECS(Centos)开启X11的步骤

阿里云ECS(Centos)开启X11的步骤

1、修改sshd_config X11Forwarding yes

2、yum -y install xorg-x11-xauth xorg-x11-utils xorg-x11-fonts-*

3、dbus-uuidgen > /var/lib/dbus/machine-id

4、安装字体yum install -y fontconfig mkfontscale

    将字体文件放在/usr/share/fonts,

执行下面三条命令刷新字体缓存

mkfontscale

mkfontdir

fc-cache -fv

 

posted @ 2016-10-30 15:26  swordzj  阅读(4123)  评论(0编辑  收藏  举报