Xming+SecureCRT的安装与使用

时间:2020-01-14
本文章向大家介绍Xming+SecureCRT的安装与使用 ,主要包括Xming+SecureCRT的安装与使用 使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

操作时间:2019年8月9日11:19:00


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

原文地址:https://www.cnblogs.com/tanshouke/p/12190666.html