Ubuntu server版下安装桌面环境

Ubuntu server版本默认没有安装图形界面

可以按照下列步骤安装

wget

# # Replace /etc/apt/sources.list with this file will change apt source to Debian Mirror on CN99 # deb stable main non-free contrib deb stable/non-US main contrib non-free deb proposed-updates main contrib non-free deb proposed-updates/non-US main contrib non-free deb woody/updates main contrib non-free deb-src stable main non-free contrib deb-src stable/non-US main contrib non-free deb-src proposed-updates main contrib non-free deb-src proposed-updates/non-US main contrib non-free

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

升级并安装x windows(GNOME)桌面环境

sudo apt-get update

安装 X 窗口系统:sudo apt-get install x-window-system-core。

安装登录管理器:sudo apt-get install xdm/gdm/kdm[注]。最常见的图形化登录管理器包括 XDM、GDM、KDM,用户可根据自己的需要选择其中之一。

安装桌面环境或窗口管理器: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。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/ea3f412293df3389821b708d4b9fba49.html