In this video, you'll learn about the graphics server configuration.
Let's talk about initialization first.
To install Linux with a graphical display, you just select the appropriate option while
installing.
As an alternative, you can also install the graphical packages later, so your non-graphical
server can easily be turned into a graphical installation.
After installing the graphical packages, you set the default systemd target to graphical.target
to boot into graphical mode.
That would be systemctl set default is graphical.target.
And then gdm.service is started to provide the standard GDM login if you are using the
standard GNOME interface which you will find on Ubuntu as well as Red Hat Family.
The GDM display manager can use the configuration file etc.gdm-custom.conf to specify which
graphical server should be used.
And further, Wayland initialization is managed through user-share-wayland-sessions-gnome-wayland.desktop
in your GNOME graphical environment.
The main Wayland component as discussed before is the compositor, which allows the graphical
applications to draw to screens.
The compositor is provided by the desktop environment, and mutter is the default compositor
for the common GNOME graphical desktop environment.
To start applications the right way, user-based environment variables are used.
And these are gdk-backend for GTK applications and qt-underscore-qpa-underscore-platform
for QuickTime applications.