Ubuntu 20.04 Essentials
上QQ阅读APP看书,第一时间看更新

7.1 Installing the GNOME Desktop

If the Ubuntu Desktop image was used for the Ubuntu 20.04 installation process, the GNOME desktop will already be installed and will automatically launch each time the system starts.

If any other software configuration was selected during the Ubuntu 20.04 installation process, the GNOME desktop will not have been included in the packages installed on the system. On server-based systems without a display attached, the idea of installing a graphical desktop environment may seem redundant. It is worth noting, however, that remote access to the GNOME desktop is also possible so, even on so called headless servers (i.e. servers lacking a monitor, keyboard and mouse) it may still be beneficial to install the GNOME desktop packages. The topic of establishing remote desktop access will be covered in detail in the chapter of this book.

If the installation configuration did not include the GNOME desktop, it may be installed at any time using the following command:

# apt install tasksel

# tasksel install ubuntu-desktop

Once the installation is complete, the desktop login screen will appear next time the system restarts.