The GUI is not installed in Ubuntu server by default.
Follow these steps to install
Wget http://Ubuntu.cn99.com/sources.list.cn99
Sudo CP sources. List. cn99/etc/APT/sources. List
Upgrade and install X Windows (gnome) Desktop Environment
Sudo apt-Get update
- Install the X Window System: sudo apt-Get install x-window-system-core.
- Install the logon MANAGER: sudo apt-Get install xdm/TPD/KDM [note]. The most common graphical logon Manager includes xdm, TPD, and KDM. You can select one of them based on your needs.
- Install the desktop environment or window manager: sudo apt-Get install Ubuntu-desktop/kubuntu-desktop/xubuntu-desktop. This will install gnome, Kde, and xfce desktop environments respectively. For gnome, Kde, and xfce desktop environments, you can only install the most basic components for better customization. For example: sudo apt-Get install gnome-core/KDE-core/xfce4. Of course, if you do not need a desktop environment, you can choose to install Window Manager instead. In this case, run the sudo apt-Get install fluxbox/icewm/enlightenment/FVWM command.
Conversion from: Yangfan blog