ubuntu 服务器安装图形

如何在Ubuntu server上面安装GUI 分五个步骤:
GUI Installation on Ubuntu Server 20.04

  1. Update the apt package index and install tasksel.
$ sudo apt update $ sudo apt install tasksel

  1. List the GUI we have installed and we can install:
$ sudo tasksel --list-tasks

【ubuntu 服务器安装图形】Main available Graphical User Interfaces (GUI) installations using tasksel's tasks
Task Description
kubuntu-desktop Kubuntu desktop ( KDE Desktop )
lubuntu-desktop Lubuntu Desktop ( LXQt desktop )
ubuntu-budgie-desktop Ubuntu Budgie desktop
ubuntu-desktop Ubuntu desktop ( default GNOME )
ubuntu-desktop-minimal Ubuntu minimal desktop ( default GNOME )
ubuntu-mate-desktop Ubuntu MATE desktop
ubuntustudio-desktop Ubuntu Studio desktop ( Xfce-based desktop )
ubuntustudio-desktop-core Ubuntu Studio minimal DE installation ( Xfce-based desktop )
xubuntu-desktop Xubuntu desktop ( Xfce desktop )
  1. Use tasksel command to install the selected GUI. For example to install the default Ubuntu GNOME desktop execute. This step will install all the files and take some time to finish.
$ sudo tasksel install ubuntu-desktop

  1. Run the following command to make sure our system boots into the graphical target after reboot
$ sudo systemctl set-default graphical.target

  1. Run command sudo reboot to reboot. At this point, the GUI should start.
$sudo reboot

文章来自:Install GUI on Ubuntu 20.04 Quick Guide
https://www.howtouselinux.com/post/install-gui-on-ubuntu-20-04-quick-guide

    推荐阅读