要调用linux的X11窗口转发功能需要:
1、ssh开启X11 forward
2、echo $DISPLAY 看看本机用的那个窗口
如果没有显示就临时export DISPLAY=localhost:0.0 写入/etc/profile是永久
3、hosts文件里要能解析localhost
4、下载xming软件安装好,运行luanch来配置对应的窗口号
转载于:https://blog.51cto.com/sw5720/1679048
要调用linux的X11窗口转发功能需要:
1、ssh开启X11 forward
2、echo $DISPLAY 看看本机用的那个窗口
如果没有显示就临时export DISPLAY=localhost:0.0 写入/etc/profile是永久
3、hosts文件里要能解析localhost
4、下载xming软件安装好,运行luanch来配置对应的窗口号
转载于:https://blog.51cto.com/sw5720/1679048