In this tutorial we learn how to install gdm3 on Ubuntu 20.04. gdm3 is GNOME Display Manager GNOME Display Manager GNOME Display Manager GNOME Display Manager
Introduction
In this tutorial we learn how to install gdm3
on Ubuntu 20.04.
What is gdm3
gdm3 is:
GDM provides the equivalent of a “login:” prompt for X displays: itasks for a login and starts graphical sessions.
It supports multiple seats and switching between multiple users.
The greeter is based on the GNOME libraries and applications, and itslook and design are the same as those of a GNOME session.Task: ubuntu-desktop-minimal, ubuntu-desktop
Package: gdm3Status: install ok installedPriority: optionalSection: gnomeInstalled-Size: 1860Maintainer: Ubuntu Developers [emailprotected]Architecture: amd64Version: 3.36.3-0ubuntu0.20.04.3Provides: x-display-managerDepends: accountsservice (>= 0.6.35), adduser, bash (>= 4.3), dconf-cli (>= 0.20), dconf-gsettings-backend (>= 0.20), dbus, gir1.2-gdm-1.0 (= 3.36.3-0ubuntu0.20.04.3), gnome-session | x-session-manager | x-window-manager | x-terminal-emulator, gnome-session-bin (>= 3.10), gnome-settings-daemon (>= 3.24), gnome-shell (>= 3.19.92), gsettings-desktop-schemas, libgdm1 (= 3.36.3-0ubuntu0.20.04.3), libglib2.0-bin (>= 2.35.0), libpam-modules (>= 0.72-1), libpam-runtime (>= 0.76-13.1), libpam-systemd, librsvg2-common, lsb-base (>= 3.2-14), policykit-1 (>= 0.105-5~), procps, ucf, x11-common (>= 1:7.6+11), x11-xserver-utils, debconf (>= 0.5) | debconf-2.0, libaccountsservice0 (>= 0.6.37), libaudit1 (>= 1:2.2.1), libc6 (>= 2.14), libcanberra-gtk3-0 (>= 0.25), libcanberra0 (>= 0.2), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.44.0), libgtk-3-0 (>= 3.0.0), libgudev-1.0-0 (>= 165), libkeyutils1 (>= 1.5.9), libpam0g (>= 0.99.7.1), libselinux1 (>= 1.32), libsystemd0, libwrap0 (>= 7.6-4~), libx11-6, libxau6, libxcb1, libxdmcp6Recommends: at-spi2-core, libpam-fprintd (>= 0.8.0-2), x11-xkb-utils, xserver-xephyr, xserver-xorg, zenitySuggests: gnome-orca, libpam-gnome-keyringBreaks: pulseaudio (« 11.1-2), xserver-xorg-core (« 2:1.17.2-2~)Conffiles:/etc/dbus-1/system.d/gdm.conf 04171376f385fd33eade3368b8cd4082/etc/gdm3/Init/Default cf4415ad9808ef0096a8b7852ddea7ca/etc/gdm3/PostLogin/Default.sample ea12aa729c8c6c09ac7643f0dfba5726/etc/gdm3/PostSession/Default faa25c6c7940f930d70538c673a39726/etc/gdm3/PreSession/Default 230165e8c40035a23a4a053a98d32ea6/etc/gdm3/Prime/Default f13634ea87f90dde2bec58dd26c7f49e/etc/gdm3/PrimeOff/Default 1f9f942f3d7e4cdb5b287cdde8494c59/etc/gdm3/Xsession d0867071ba587630013c7009a9ffe813/etc/gdm3/config-error-dialog.sh cf624deb2a10a42603daf49f66d35d1e/etc/gdm3/custom.conf c6aca2790519798ce963b8b3254e22b3/etc/init.d/gdm3 9932c03664a6acd9f23afdbcf91478cb/etc/insserv.conf.d/gdm3 61c8ab53b1be0158ef1ac24492e4543a/etc/pam.d/gdm-autologin 984f197ed79c28ba0131a51b7291aa42/etc/pam.d/gdm-fingerprint 961bb460f45aac79d5c3f84505936382/etc/pam.d/gdm-launch-environment 0803541abf05a0295ac5cf789f912155/etc/pam.d/gdm-password 1af84655e3a912c2b7b3502188036f36Description-en: GNOME Display ManagerGDM provides the equivalent of a “login:” prompt for X displays: itasks for a login and starts graphical sessions.
It supports multiple seats and switching between multiple users.
The greeter is based on the GNOME libraries and applications, and itslook and design are the same as those of a GNOME session.Original-Maintainer: Debian GNOME Maintainers [emailprotected]
Package: gdm3Architecture: amd64Version: 3.36.3-0ubuntu0.20.04.2Priority: optionalSection: gnomeOrigin: UbuntuMaintainer: Ubuntu Developers [emailprotected]Original-Maintainer: Debian GNOME Maintainers [emailprotected]Bugs: https://bugs.launchpad.net/ubuntu/+filebugInstalled-Size: 1860Provides: x-display-managerDepends: accountsservice (>= 0.6.35), adduser, bash (>= 4.3), dconf-cli (>= 0.20), dconf-gsettings-backend (>= 0.20), dbus, gir1.2-gdm-1.0 (= 3.36.3-0ubuntu0.20.04.2), gnome-session | x-session-manager | x-window-manager | x-terminal-emulator, gnome-session-bin (>= 3.10), gnome-settings-daemon (>= 3.24), gnome-shell (>= 3.19.92), gsettings-desktop-schemas, libgdm1 (= 3.36.3-0ubuntu0.20.04.2), libglib2.0-bin (>= 2.35.0), libpam-modules (>= 0.72-1), libpam-runtime (>= 0.76-13.1), libpam-systemd, librsvg2-common, lsb-base (>= 3.2-14), policykit-1 (>= 0.105-5~), procps, ucf, x11-common (>= 1:7.6+11), x11-xserver-utils, debconf (>= 0.5) | debconf-2.0, libaccountsservice0 (>= 0.6.37), libaudit1 (>= 1:2.2.1), libc6 (>= 2.14), libcanberra-gtk3-0 (>= 0.25), libcanberra0 (>= 0.2), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.44.0), libgtk-3-0 (>= 3.0.0), libgudev-1.0-0 (>= 165), libkeyutils1 (>= 1.5.9), libpam0g (>= 0.99.7.1), libselinux1 (>= 1.32), libsystemd0, libwrap0 (>= 7.6-4~), libx11-6, libxau6, libxcb1, libxdmcp6Recommends: at-spi2-core, libpam-fprintd (>= 0.8.0-2), x11-xkb-utils, xserver-xephyr, xserver-xorg, zenitySuggests: gnome-orca, libpam-gnome-keyringBreaks: pulseaudio (« 11.1-2), xserver-xorg-core (« 2:1.17.2-2~)Filename: pool/main/g/gdm3/gdm3_3.36.3-0ubuntu0.20.04.2_amd64.debSize: 260132MD5sum: a9006dbabfda7a31325761b30cf5267cSHA1: a6fea628fe680caf6fbace9c198723f09fb392ffSHA256: 06578cadef93584338da7138d783f77e01498001f805b4f9a9601de8bf6c2af8SHA512: 7763bb03ae121091b11d82194bcd713f92f33ea2fa61f6bfe0f854132567315c5e1b3844c666509d6b2d5319ae89000c6d68a1c2e1ca3e7bd783582b8e7f353fDescription-en: GNOME Display ManagerGDM provides the equivalent of a “login:” prompt for X displays: itasks for a login and starts graphical sessions.
It supports multiple seats and switching between multiple users.
The greeter is based on the GNOME libraries and applications, and itslook and design are the same as those of a GNOME session.Task: ubuntu-desktop-minimal, ubuntu-desktop
Package: gdm3Architecture: amd64Version: 3.34.1-1ubuntu1Priority: optionalSection: gnomeOrigin: UbuntuMaintainer: Ubuntu Developers [emailprotected]Original-Maintainer: Debian GNOME Maintainers [emailprotected]Bugs: https://bugs.launchpad.net/ubuntu/+filebugInstalled-Size: 1852Provides: x-display-managerDepends: accountsservice (>= 0.6.35), adduser, bash (>= 4.3), dconf-cli (>= 0.20), dconf-gsettings-backend (>= 0.20), gir1.2-gdm-1.0 (= 3.34.1-1ubuntu1), gnome-session | x-session-manager | x-window-manager | x-terminal-emulator, gnome-session-bin (>= 3.10), gnome-settings-daemon (>= 3.24), gnome-shell (>= 3.19.92), gsettings-desktop-schemas, libgdm1 (= 3.34.1-1ubuntu1), libglib2.0-bin (>= 2.35.0), libpam-modules (>= 0.72-1), libpam-runtime (>= 0.76-13.1), libpam-systemd, librsvg2-common, lsb-base (>= 3.2-14), policykit-1 (>= 0.105-5~), procps, ucf, x11-common (>= 1:7.6+11), x11-xserver-utils, debconf (>= 0.5) | debconf-2.0, libaccountsservice0 (>= 0.6.37), libaudit1 (>= 1:2.2.1), libc6 (>= 2.14), libcanberra-gtk3-0 (>= 0.25), libcanberra0 (>= 0.2), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.44.0), libgtk-3-0 (>= 3.0.0), libgudev-1.0-0 (>= 165), libkeyutils1 (>= 1.5.9), libpam0g (>= 0.99.7.1), libselinux1 (>= 1.32), libsystemd0, libwrap0 (>= 7.6-4~), libx11-6, libxau6, libxcb1, libxdmcp6Recommends: at-spi2-core, libpam-fprintd (>= 0.8.0-2), x11-xkb-utils, xserver-xephyr, xserver-xorg, zenitySuggests: gnome-orca, libpam-gnome-keyringBreaks: pulseaudio (« 11.1-2), xserver-xorg-core (« 2:1.17.2-2~)Filename: pool/main/g/gdm3/gdm3_3.34.1-1ubuntu1_amd64.debSize: 261480MD5sum: cf29c98fabe63a93b7482828963251aeSHA1: bc7afdab7293e96096099b2894d160fd879205d4SHA256: 7f9e73ad69a4d2546e17dfdfbc436be089b016b4caf2c7ed7c63c028c4abe10fDescription-en: GNOME Display ManagerGDM provides the equivalent of a “login:” prompt for X displays: itasks for a login and starts graphical sessions.
It supports multiple seats and switching between multiple users.
The greeter is based on the GNOME libraries and applications, and itslook and design are the same as those of a GNOME session.Task: ubuntu-desktop-minimal, ubuntu-desktop
There are three methods to install gdm3
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install gdm3 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gdm3
using apt-get
by running the following command:
sudo apt-get -y install gdm3
Install gdm3 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gdm3
using apt
by running the following command:
sudo apt -y install gdm3
Install gdm3 Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install gdm3
using aptitude
by running the following command:
sudo aptitude -y install gdm3
How To Uninstall gdm3 on Ubuntu 20.04
To uninstall only the gdm3
package we can use the following command:
sudo apt-get remove gdm3
Uninstall gdm3 And Its Dependencies
To uninstall gdm3
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove gdm3
Remove gdm3 Configurations and Data
To remove gdm3
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge gdm3
Remove gdm3 configuration, data, and all of its dependencies
We can use the following command to remove gdm3
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gdm3
References
Summary
In this tutorial we learn how to install gdm3
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.