windows平台使用SecureCRT+Xming實現圖形介面來執行linux平台的一些圖形程式

來源:互聯網
上載者:User

標籤:Xming   圖形介面   system-config-kicks   linux   windows   

  • 需求分析:
    windows平台下使用ssh遠端連線linux伺服器,實現圖形介面來執行linux平台的一些程式,如system-config-kickstart、xeyes、等

  • 實驗環境:
    伺服器端:CentOS6/CentOS7系統
    windows端:Windows10/8/7系統、SecureCRT, Xming

  • 配置部分:

    linux伺服器端

    1. 編輯/etc/ssh/sshd_conf檔案,開啟X11轉寄。
      # vim /etc/ssh/sshd_conf
      X11Forwarding yes   #預設已開啟
      重啟sshd服務

    2. 安裝xorg-x11-xauth程式,sshd需要這個程式執行X11轉寄。
      # yum -y install xorg-x11-xauth

    windows用戶端

    1. 下載並安裝X server程式。這裡安裝Xming-6-9-0-31-setup.exe程式,下載後直接運行安裝即可,無需配置;運行成功時右下角有小表徵圖顯示

      推薦下載網址win.softpedia.com/dyn-search.php?search_term=xming


    SecureCRT程式

    1. 開啟相應串連遠程主機的session options,勾選啟用X11轉寄。

  • 測試結果

    重新退出再登入串連遠程終端,安裝運行圖形程式,如“眼睛”程式:xeyes

    # exit

    logout

    Last login: Mon Apr 30 17:18:42 2018 from 192.168.3.1

    # yum -y install xeyes

    運行xeyes測試結果
    # xeyes


    運行system-config-kickstart測試結果
    # system-config-kickstart


  • windows平台使用SecureCRT+Xming實現圖形介面來執行linux平台的一些圖形程式

    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.