博主本人平和謙遜,熱愛學習,讀者閱讀過程中發現錯誤的地方,請幫忙指出,感激不盡
Xming下載地址:https://xming.en.softonic.com/
安裝完后打開文件位置:
一、Xming配置:
至此,Xming設置完成
二、SecureCRT配置:
設置X服務地址:
設置X服務地址(WindowsIP:192.168.1.2): [root@ORACLE ~]# export DISPLAY=192.168.1.2:0.0 (根據本地電腦而定) [root@ORACLE ~]# export|grep DISPLAY declare -x DISPLAY="192.168.1.2:0.0" [root@ORACLE ~]#
打開Firefox驗證:
[root@ORACLE ~]# firefox & [1] 2517 [root@ORACLE ~]#
出現如下圖片表示成功:
三、可能遇到的問題
如果系統是最小化安裝,會缺少部分文件,需要進行下面處理:
CentOS6x最小化安裝時處理如下:
[root@MySQL_MASTER ~]# yum install firefox -y [root@MySQL_MASTER bin]# firefox /usr/bin/firefox: line 255: dbus-send: command not found Starting a11y dbus service... Failed to launch bus: Failed to connect to session busprocess 2471: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory See the manual page for dbus-uuidgen to correct this issue. D-Bus not built with -rdynamic so unable to print a backtrace Redirecting call to abort() to mozalloc_abort (總之就是缺少什么文件就安裝什么文件) 添加安裝支持服務: mkdir -p /var/lib/dbus/ yum install dbus-uuidgen -y (yum provides */dbus-uuidgen yum install dbus-1.2.24-11.el6_10.x86_64 -y) dbus-uuidgen >/var/lib/dbus/machine-id firefox