How to Install GUI on Debian
Debian offers a variety of graphical environments, including full-featured desktop environments, lighter environments, and powerful window managers. In terms of look, functionality, and usability, the Debian desktop environment provides a coherent suite of applications. GNOME is the default desktop environment in Debian, but other environments are available too, such as KDE Plasma, XFCE, LXDE, and MATE. We’ll now install the desktop for your Debian system.
For Debian systems to be registered with VPSie, you need to create a VPSie account if you don’t have one already.
First we are going to update our system by running the following command:
# apt-get update && apt-get upgrade -y
Next, install the desktop environment:
# sudo apt -y install task-gnome-desktop
If you have successfully installed the desktop environment, run the following command to set a graphical login.
# sudo systemctl set-default graphical.target
We will now commend a line in the file gdm-password. Run the following command to open it and comment(add # infront of the line) the line.
# sudo nano /etc/pam.d/gdm-password
We are ready to use the GUI now. Do a system reboot to finish the process:
# sudo reboot
Your Debian instance is configured with GNOME desktop, which has successfully installed, Explore it. It is our hope that you have enjoyed this article.