Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Desktop Environments»Switching Display Manager in Ubuntu – GDM, LightDM & SDDM

    Switching Display Manager in Ubuntu – GDM, LightDM & SDDM

    RahulBy RahulMay 11, 20222 Mins ReadUpdated:May 16, 2022

    Once the Linux desktop system is started, you see a login window. This is displayed by the Display manager. A display manager is an independent application from the desktop manager. You can install and use any display manager on your system.

    This tutorial will help you to install multiple display managers on the Ubuntu desktop. Also provides you instructions to switch between display managers.

    What is Display Manager?

    A Display Manager is a graphical login program and session manager that is responsible for user authentication. It is a totally separate application from the desktop environment.

    Display Manager is also known as “login manager”. In this tutorial, we will discuss 3 popular display managers that are GDM, SDDM, and LightDM. Some of the display managers are installed by default with the desktop environment.

    1. GDM3: is the default display manager for Gnome Desktop Environment
    2. LightDM: is the an lightweight and opensource display manager
    3. SDDM: is a display manager for the X11 and Wayland windowing systems. KDE Plasma 5 is using this as default display manager.

    Installing Display Manager on Ubuntu

    Although, multiple Display Managers are available for the Ubuntu desktop environment. But we would focus on three prominent ones – GDM, LightDM, XDM, and SDDM. GDM (GDM3) is the default Display Manager for Ubuntu 16.10 and newer versions. Still, some of the other Ubuntu flavors prefer to use LightDM as the default display manager.

    Use one of the below commands to install Display Manager on the Ubuntu system.

    • Installing GDM3:
      sudo apt install gdm3 
      
    • Installing LightDM:
      sudo apt install lightdm 
      
    • Installing SDDM:
      sudo apt install sddm 
      

    Switching Display Manager on Ubuntu

    During the installation of the display manager, the installer will prompt to change the default display manager.

    After installation, you can also switch the display manager with the below-mentioned command. Open a terminal and type:

    sudo dpkg-reconfigure gdm 
    
    Switching the Default Display Manager on Ubuntu
    Select the default display manager for your Ubuntu system

    Use the UP + DOWN keys to select the display manager and hit the Ok button.

    In case the above command fails, you can directly edit the /etc/X11/default-display-manager file and set the new display manager.

    Conclusion

    In this tutorial, we have discussed the popular display managers for the Linux desktop environment. Also provides you the instruction to install and switch display managers on a Ubuntu system.

    display manager GDM GDM3 lightdm SDDM
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleChanging the Login Screen Background in Ubuntu 22.04 & 20.04
    Next Article How to Install JAVA on Ubuntu 22.04

    Related Posts

    Changing the Login Screen Background in Ubuntu 22.04 & 20.04

    Updated:May 9, 20222 Mins Read

    How to Install LightDM Display Manager on Ubuntu

    Updated:May 10, 20222 Mins Read

    How to Change Default Display Manager in Ubuntu Desktop

    Updated:May 1, 20223 Mins Read

    10 Best Linux Desktop Environments of 2022

    Updated:March 23, 20227 Mins Read

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.