第一步 操作系統(tǒng)安裝圖形界面 X11 Forwarding
dnf install xorg-x11-xauth xorg-x11-fonts-* xorg-x11-font-utils xorg-x11-fonts-Type1 xclock
第二步 修改參數(shù),啟用X11 Forwarding
vim /etc/ssh/sshd_config
修改參數(shù)X11Forwarding yes和X11UseLocalhost no
#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
X11UseLocalhost no
第三步 重啟sshd服務(wù)
systemctl restart sshd.service
第四步. 用戶執(zhí)行 xhost +
xhost +
我執(zhí)行的時(shí)候卡住了,感覺(jué)不執(zhí)行這個(gè)也可以。
第五步 重啟一個(gè)遠(yuǎn)程終端
x11 forwoading 變成√文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-809017.html
第六步 xclock驗(yàn)證
xclock
本地出現(xiàn)這個(gè)就是可視化成功了文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-809017.html
到了這里,關(guān)于linux CentOS MobaXterm 通過(guò)X11 Forwarding 在本地開(kāi)啟圖形可視化窗口的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!