How To Install gdm on CentOS 7
Introduction
In this tutorial we learn how to install gdm
on CentOS 7.
What is gdm
GDM, the GNOME Display Manager, handles authentication-related backend functionality for logging in a user and unlocking the user’s session after it’s been locked. GDM also provides functionality for initiating user-switching, so more than one user can be logged in at the same time. It handles graphical session registration with the system for both local and remote sessions (in the latter case, via the XDMCP protocol). In cases where the session doesn’t provide it’s own display server, GDM can start the display server on behalf of the session. GDM, the GNOME Display Manager, handles authentication-related backend functionality for logging in a user and unlocking the user’s session after it’s been locked. GDM also provides functionality for initiating user-switching, so more than one user can be logged in at the same time. It handles graphical session registration with the system for both local and remote sessions (in the latter case, via the XDMCP protocol). In cases where the session doesn’t provide it’s own display server, GDM can start the display server on behalf of the session.
We can use yum
or dnf
to install gdm
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install gdm.
Install gdm on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install gdm
using yum
by running the following command:
Install gdm on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install gdm
using dnf
by running the following command:
How To Uninstall gdm on CentOS 7
To uninstall only the gdm
package we can use the following command:
References
Summary
In this tutorial we learn how to install gdm
on CentOS 7 using yum
and dnf
.