CentOS7設置為X11顯示


#AllowAgentForwarding yes
AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no   //網上很多說明這里保持默認不需要修改
#PermitTTY yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes

1.修改SSH配置文件如上

2.安裝X11依賴:

yum install -y xorg-x11-xauth           #安裝x11組件包        
yum -y install wqy-zenhei-fonts*        #安裝中文字庫 

3.Done


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM