If you’ve never heard of display managers, a display manager is responsible for starting the display server and loading the Linux desktop after you type in your username and password. Also referred to as a “login manager”, it controls user sessions and manages user authentication. Most of its job is done under the hood as the only element you can see is the login screen, also known as the “greeter”. They say, “If it ain’t broke, don’t fix it”. But I suppose they’ve never used open-source software like Ubuntu Linux. One of the best things about it is that you can change almost anything, just because you can. Today, we’ll see how to switch Display Manager on Ubuntu.
Why should you switch to display manager?
Sure, a display manager is a music player or a browser that you can switch without a second thought. It’s an essential part of the Operating system and if you mess up, you could break things. Most of the time though you’ll be fine as long as you know what you’re doing. Most display managers you can install have been tested enough to at least work, even if not flawlessly. But maybe, you don’t want to change your display manager, yet you have to. Here are a few possible scenarios:
- Your PC isn’t as fast and smooth as it used to be, and you’re trying to keep it as fast as possible. A lightweight display manager can help instead of the default display manager that came with your distro of choice.
- Your current display manager breaks due to some reasons, perhaps an unfortunate update, etc.
- You’re bored with it and want to try and change its look, maybe even try a display manager via themes.
There are many display managers on Linux to choose from such as KDM, SDDM, GDM, LightDM, MDM, etc. They look mostly alike since they essentially have to display the same things. The real difference lies in the complexity, features, placement of items, etc. We won’t be going very deep into all those different display managers. It can be a topic of its own.
How to switch display manager on Ubuntu Linux
To switch to a different display manager you first need to install one. Assuming that you already have one installed, you may also want to delete the current display manager once you have switched to another. In most cases that’s not necessary. Setting up a new default display manager is a little different for different Linux distros but it’s simple. The default display manager on newer versions of Ubuntu is gdm3. This is hence also the default display manager on most Ubuntu derivatives such as Linux Mint, Elementary OS, and others. Therefore, the method below will work on any of these distros.
Just launch a Terminal window and run this command.
sudo dpkg-reconfigure gdm
Most users running the latest Ubuntu versions may have to use gdm3 instead of gdm, so the command to use would be
sudo dpkg-reconfigure gdm3
After this, you’ll be shown a message about configuring gdm3 that looks like the one above. Hit Enter while <Ok> is selected and then you can choose between the installed display managers via arrow keys.
Hit Enter to select the highlighted entry.
When you’ve selected your favorite display manager, close the Terminal window and reboot your computer. In some cases, simply logging out can be enough but a reboot works for everyone.
Read next: Convert and Resize Images on Ubuntu and with a Right-click