What is gdm3, kdm, lightdm? How to install and remove and repair them? Can anyone explain in details?
Software Installation – How to Install and Remove gdm3, kdm, lightdm
default-programsdisplay-managersoftware installationsoftware-uninstall
default-programsdisplay-managersoftware installationsoftware-uninstall
What is gdm3, kdm, lightdm? How to install and remove and repair them? Can anyone explain in details?
Best Answer
gdm3
,kdm
, andlightdm
are all display managers. They provide graphical logins and handle user authentication.From a Wiki article,:
GNOME Display Manager (
gdm3
)gdm3
is the successor ofgdm
which was the GNOME display manager. The newergdm3
uses a minimal version ofgnome-shell
, and provides the same look and feel of as GNOME3 session. Is the Canonical choice since Ubuntu 17.10. You can install it with:and remove it with:
KDE Display Manager (
kdm
)kdm
was KDE's display manager. But it's been deprecated in KDE5 in favor ofSDDM
, which is more capable as a display manager, and hence comes by default with Kubuntu. You can install it with:and remove it with:
LightDM
LightDM was Canonical's solution for a display manager. It was supposed to be lightweight and comes by default with Ubuntu (until 17.04), Xubuntu, and Lubuntu. It's configurable, with various greeter themes available.
You can install it with:
And remove it with:
Repairing is broad term. However, if you have multiple display managers installed, you can choose between them using:
You can use any display manager's name in place of
gdm3
in the above command, and it will allow you to choose between them. You must reboot for the change to take affect.To check which display manager is currently being used, run this command:
as suggested in this question: How to check using the command line which display manager is running?
One important point to note that, currently due to a bug (I checked in 16.04) you cannot start GNOME3 or Ubuntu Unity session using SDDM. So, if you have both KDE and Unity or GNOME3 installed, make sure your display manager is either
gdm3
orlightdm
.