How to Change the Default Display Manager in Ubuntu 20.04

July 24, 2020 — 2 Comments

gnome shell

This quick tutorial shows how to change the default login screen display manager (e.g., gdm3, lightdm, kdm) in Ubuntu 20.04.

Ubuntu 20.04 Gnome desktop uses GDM3 as the default display manager. If you installed other desktop environments in your system, then you may have different display managers.

To change the default display manager, open terminal from system application launcher, and do following steps one by one.

1.) Check the current running display manager by running command:

systemctl status display-manager.service

You may also run cat /etc/X11/default-display-manager to get the result.

2. Run command to reconfigure the default manager:

sudo dpkg-reconfigure gdm3

NOTE: replace gdm3 in the command with the one you got in step 1).

3.) It will bring up the package configuration screen, if you have more than one display managers installed:

4.) Hit enter in the previous screen, then press Up / Down arrow keys to switch the display manager and hit Enter.

The change will be applied in next boot. Enjoy!

I'm a freelance blogger who started using Ubuntu in 2007 and wish to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

2 responses to How to Change the Default Display Manager in Ubuntu 20.04

  1. Hi Ji, Welcome to Ubuntu!. It is good to ditch the Windows rubbish and get into the real OS where one can change anything you want, yet have a global community who can support the OS. I run the latest kernel almost every 2 weeks ob X64 platform while on Arm platform running V5.8 as they are not as stable nor fast. My Arm machines are Rasp Pi4 (naturally), OrangePi Pc, Orange Pi Zero, BananaPi ZeroM2. Those little nixes are very good and fun to use.

  2. Hello Ji;
    I can hardly fault your English. It is actually very good. I take your statement as invitation for corrections. This (being corrected by others) was the most helpful when I came to live in this my country and had to learn English very quickly. Swim or Sink, I was told.
    Regarding this article, I have few questions: Perhaps others encountered the same problems and you may provide us with some answers:
    I installed this Ubuntu:
    Linux Nomis-Revival-Ubu 5.8.0-30-generic #32-Ubuntu SMP Mon Nov 9 21:03:15 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
    I am running Gnome with several extensions. The gdm3 worked for a say or so, then this
    problem cropped up:
    When booting, the screen turns black. Within seconds the Philips monitor announces it is going to sleep for lack of signal. Indeed it does (goes to sleep), Most times, I can do a three-fingers salute 2 or 3 (Ctl-Alt-F2, Ctl-Alt-F2). and get a console login. This happens in a very tiny font, so small my tired old eyes cannot read the screen. Once I login, I can use startx(1), to start a gnome session, xinit(1) will NOT work (lack of permission to write (false!).) This is very strange!. Anyway, once startx starts, Gnome session will start and run as well as Gnome knows how. Screen resolution is always the same 3840×2160, which is perfect for me.
    Last night this ability to get a text console stopped working. I have no idea why.
    However, while the screen is black and looks turned off, I can actually login! Just like with invoking startx from the console shell, it starts the session just perfectly.
    I really want to have gdm work properly and visibly. Normally I would have been able to solve the problem by myself. But now my health is too run down, and my eyesight is too poor for serious reading – I have to ask for help :-( I apologize for making this too long, I simply wanted to provide you with useful information, not just “it does not work.”
    Oh, the dialog you quote, samples and all, does not display at all. The script pauses for a second or two, then exits without any output. Exit status is zero.
    Thank you.
    Simon

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*