How to Switch Between GDM and LightDM in Ubuntu [Quick Tip]

I hope you are aware of the concept of display managers in Linux. Because I am going to discuss how to change display manager in Ubuntu straightaway.

Ubuntu 20.04 comes with GDM3 as default display manager. But if you experiment with various display managers or various desktop environments, you may end up with Light DM or some other display manager as the default display manager. It is a matter of choice but if you want to get back to another display managers, you can easily do that.

In this quick post, we shall see how to switch between LightDM and GDM or other display managers in Ubuntu.

Switch between LightDM and GDM in Ubuntu

Open a terminal and use the following command:

sudo dpkg-reconfigure gdm3

You can in fact use lightdm instead of gdm, the procedure is same for both. Using the above mentioned command will take you to a warning page. Enter to get back to next screen:

gdm in Ubuntu 14.04

On the next screen, you’ll see all the available display managers. Use tab to select your preferred one and then press enter, Once you have selected it, press tab to go to ok and press enter again.

Switch between gdm and lightdm

Restart the system and you will find your selected display manager at login. The same procedure can be applied to switch between GDM, LightDM, MDM, KDM etc.

How do you switch back to your previous display manager in Ubuntu?

Basically, you follow the same steps as mentioned earlier. You just need to reconfigure a display manager and during this process, you’ll be presented with the option to choose from the available display managers on your system.

Easy, isn’t it? I hope you liked this quick Ubuntu beginner’s tip. Stay subscribed for more.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

It's FOSS

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.