zoukankan      html  css  js  c++  java
  • Xming+SecureCRT的安装与使用

    博主本人平和谦逊,热爱学习,读者阅读过程中发现错误的地方,请帮忙指出,感激不尽


     

    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


    转载需注明出处

    水果大佬
  • 相关阅读:
    SharePoint 2010 访问WebService 增删改列表
    TFS 项目删除
    一个或多个域类型未正确安装。请转到列表设置页删除这些域。
    IIS 应用程序池 已停用
    hadoop进程全部启动成功, LiveNode也正常,但界面显示 DataNode不一致
    Jenkins 打包发布java应用程序
    centos安装JDK与Tomcat
    JAVA XStream的使用
    MongoDB副本集的实现与维护实战
    基于.NET平台常用的框架整理(转)
  • 原文地址:https://www.cnblogs.com/tanshouke/p/12190666.html
Copyright © 2011-2022 走看看