天天看點

Ubuntu server版本預設沒有安裝圖形界面

Ubuntu server版本預設沒有安裝圖形界面

可以按照下列步驟安裝

wget http://Ubuntu.cn99.com/sources.list.cn99 (注:對于8.04,連結應該是http://Ubuntu.cn99.com/sources.list.hardy)

sudo cp sources.list.cn99 /etc/apt/sources.list

更新并安裝x windows(GNOME)桌面環境

sudo apt-get update

  1. 安裝 X 視窗系統:sudo apt-get install x-window-system-core。 (注:sudo apt-get install xorg)
  2. 安裝登入管理器:sudo apt-get install xdm/gdm/kdm[注]。最常見的圖形化登入管理器包括 XDM、GDM、KDM,使用者可根據自己的需要選擇其中之一。
  3. 安裝桌面環境或視窗管理器:sudo apt-get install ubuntu-desktop/kubuntu-desktop/xubuntu-desktop。這将分别安裝 GNOME、KDE、XFCE 桌面環境。對于 GNOME、KDE、XFCE 這些桌面環境來說,為了獲得更強的定制效果,也可僅安裝最基本的元件,如:sudo apt-get install gnome-core/kde-core/xfce4。當然,如果不需要桌面環境,也可選擇安裝視窗管理器代替。那樣的話,可以執行指令 sudo apt-get install fluxbox/icewm/enlightenment/fvwm。