CentOS7设置为X11显示图片(终端)

Posted ahuo

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS7设置为X11显示图片(终端)相关的知识,希望对你有一定的参考价值。

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

  

yum install -y xorg-x11-xauth #安装x11组件包
yum -y install wqy-zenhei-fonts* #安装中文字库

systemctl  restart sshd

 

以上是关于CentOS7设置为X11显示图片(终端)的主要内容,如果未能解决你的问题,请参考以下文章