• 為Ubuntu Server安裝gnome圖形桌面環(huán)境

    ubuntu server版默認(rèn)都沒有圖形桌面(GUI),但是可以安裝,以下共有兩種安裝方法。

    一、安裝全部Gnome桌面環(huán)境

    Ubuntu系列桌面實(shí)際上有幾種桌面應(yīng)用程序,包括Ubuntu-desktop、Kubunut-desktop和Xubuntu-desktop。本文就以Ubuntu-desktop為例進(jìn)行介紹,此方法操作最簡(jiǎn)單,但不建議在服務(wù)器上使用此方法,因?yàn)榘惭b桌面相關(guān)軟件太多。
    sudo aptitude install ubuntu-desktop

    sudo apt-get install ubuntu-desktop

    一、自定義安裝

    1.安裝x-windows的基礎(chǔ)(必須):
    sudo apt-get install x-window-system-core
    2.安裝gnome基礎(chǔ)(必須):
    sudo apt-get install gnome-core
    3.安裝中文顯示(建議安裝):
    sudo apt-get install language-pack-gnome-zh  #讓gnome面板、菜單顯示中文
    sudo apt-get install language-pack-gnome-zh-base
    sudo apt-get install language-pack-zh             #中文語言包
    sudo apt-get install language-pack-zh-base
    sudo apt-get install language-support-zh        #中文語言支持
    sudo apt-get install scim        #scim中文輸入法平臺(tái)
    4.安裝登錄管理器(一般不選):
    sudo apt-get install gdm
    說明:
    gdm(gnome display manager)即gnome圖形界面顯示管理器,還有kdm/xdm等,它將使您可以在啟動(dòng)時(shí)直接進(jìn)入GUI桌面環(huán)境,而勿需通過 startx 來啟動(dòng)GUI。
    5.安裝新利得軟件管理器(可選):
    sudo apt-get install synaptic
    6.卸載gnome桌面環(huán)境:
    sudo apt-get –purge remove liborbit2
    7.進(jìn)入圖形界面:startx
    8.退出圖形桌面:ctrl + alt + backspace