Linux下的圖形介面——X Window的安裝

來源:互聯網
上載者:User

        X Window即X Windows圖形使用者介面,是一種電腦軟體系統和網路通訊協定,提供了一個基礎的圖形化使用者介面(GUI)和豐富的輸入裝置能力連網電腦。其中軟體編寫使用廣義的命令集,它建立了一個硬體抽象層,允許裝置獨立性和重用方案的任何電腦上實現。本文講解如何在迷你安裝的RedHat中安裝X Window(只供學習使用,生產環境不會這樣做)。

#ssh以支援XWindow的形式登入[root@larrywen software]# ssh 192.168.0.29 -XThe authenticity of host '192.168.0.29 (192.168.0.29)' can't be established.RSA key fingerprint is 38:a0:60:c2:e8:71:26:e5:b3:83:75:a8:e6:25:d8:5e.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added '192.168.0.29' (RSA) to the list of known hosts.root@192.168.0.29's password: Last login: Sat Jul 27 13:46:29 2013 from 192.168.0.10#本地建立一個檔案,編輯儲存一個檔案到遠程,可以看到遠程有剛建立的檔案[root@michael ~]# gedit[root@michael ~]# #以支援XWindow的形式登入,遠程不安裝X Window服務,可以看到本機編輯儲存的檔案[root@larrywen Desktop]# ssh 192.168.1.11 -Xroot@192.168.1.11's password: Last login: Sat Jul 27 19:26:38 2013 from 192.168.1.1/usr/bin/xauth:  creating new authority file /root/.Xauthority[root@serv01 ~]# gedit[root@serv01 ~]# ls Unsaved\ Document\ 1 Unsaved Document 1#安裝X Window,建議安裝完後重啟[root@serv01 ~]# yum groupinstall "X Window System" "Desktop" -y#卸載X Window [root@serv01 ~]# yum groupremove "X Window System" "Desktop" -y#可以選擇安裝Gnome或者KDE#RHEL5 6,Desktop 預設是Gnome#RHEL4,Desktop 預設是KDE#虛擬機器下要啟動圖形介面,需要調整記憶體,最好800M#字元介面下啟動圖形介面[root@serv01 ~]# startx#圖形介面下退回字元介面Ctrl+Alt+Back#測試用:如果安裝後卸載然後重新安裝後出現滑鼠、鍵盤不能移動,重啟解決

        參考資料:http://baike.baidu.com/view/398752.htm

  我的郵箱:wgbno27@163.com  新浪微博:@Wentasy27           公眾平台:JustOracle(號:justoracle)  資料庫技術交流群:336882565(加群時驗證 From CSDN XXX)  Oracle交流討論群組:https://groups.google.com/d/forum/justoracle  By Larry Wen
 
@Wentasy 博文僅供參考,歡迎大家來訪。如有錯誤之處,希望批評指正。原創博文如需轉載請註明出處,謝謝 [CSDN部落格]
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.