参照:
SSH+Putty+Xming搭建远程操作环境
https://blog.csdn.net/qq_43066145/article/details/94728828
通过SSH -q -X来远程打开连接显示图形界面
https://blog.csdn.net/xxradon/article/details/86636340
windows 端
1.安装Xming和Putty
Xming 下载安装
https://www.jianshu.com/p/25b8ffb5d035
Putty 下载安装
https://blog.csdn.net/weixin_42255190/article/details/97662972
2.配置putty
外网访问参照
https://www.cnblogs.com/liuhaitao/p/6339926.html
局域网访问参照
https://www.cnblogs.com/chenchenluo/p/4505567.html
(其中密钥的配置需要在ubt端的某个文件中添加公钥,具体参照外网访问)
期间遇见的一个小问题
Can’t open display
是因为我的putty配置错误,正确应该和xlaunch配置一致,xlaunch默认配置
那么putty应该如下配置
效果图
1.xclock
2.firefox