1、点击 开启 Xmanager - Passive,看本机(非Linux虚拟机)右下
角的坐标。
2、然后在Xshell里输入(IP地址为本机IP地址,非lLinux的IP地址):
[root@centospub ~]# export DISPLAY=192.168.70.1:0.0
3、最后在Xshell里输入xclock验证图形界面是否成功。
[root@centospub ~]# xclock
Warning: Missing charsets in String to FontSet conversion
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22275400/viewspace-2706608/
,如需转载,请注明出处,否则将追究法律责任。