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


    转载需注明出处

    水果大佬
  • 相关阅读:
    ASP.NET(C#)——唯一订单号
    Oracle——备份与还原
    ASP.NET(C#)——日期函数
    数据安全——数据安全标准
    文件内容的追加
    文件的读取
    创建文件,写文件
    遍历文件改进
    遍历文件夹
    递归方法求前n项和
  • 原文地址:https://www.cnblogs.com/tanshouke/p/12190666.html
Copyright © 2011-2022 走看看