爲Ubuntu Server安裝gnome圖形桌面環境

Ubuntu Server版默認都沒有圖形桌面(GUI),可是能夠安裝,如下共有兩種安裝方法。ubuntu

1、安裝所有Gnome桌面環境windows

Ubuntu系列桌面實際上有幾種桌面應用程序,包括Ubuntu-desktop、 Kubunut-desktop和Xubuntu- desktop。本文就以Ubuntu-desktop爲例進行介紹,此方法操做最簡單,但不建議在服務器上使用此方法,由於安裝桌面相關軟件太多。服務器

sudo aptitude install ubuntu-desktopspa

ci

sudo apt-get -y install ubuntu-desktoprem

2、自定義安裝get

1.安裝x-windows的基礎(必須):it

apt-get -y install x-window-system-core登錄

2.安裝gnome基礎(必須):基礎

sudo apt-get -y install gnome-core

3.安裝中文顯示(建議安裝):

sudo apt-get -y install language-pack-gnome-zh#讓gnome面板、菜單顯示中文
sudo apt-get -y install language-pack-gnome-zh-base
sudo apt-get -y install language-pack-zh#中文語言包
sudo apt-get -y install language-pack-zh-base
sudo apt-get -y install language-support-zh#中文語言支持
sudo apt-get -y install scim#scim中文輸入法平臺

4.安裝登陸管理器(通常不選):

sudo apt-get -y install gdm

說明:gdm(gnome display manager)即gnome圖形界面顯示管理器,還有kdm/xdm等,它將使您能夠在啓動時直接進入GUI桌面環境,而勿需經過 startx 來啓動GUI。

5.安裝新利得軟件管理器(可選):

sudo apt-get -y install synaptic

6.卸載gnome桌面環境:

sudo apt-get -purge remove liborbit2

7.進入圖形界面:

startx

8.退出圖形桌面:

ctrl + alt + backspace

相關文章
相關標籤/搜索