Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Desktop Environments»Switching Display Manager in Ubuntu – GDM, LightDM & SDDM

    Switching Display Manager in Ubuntu – GDM, LightDM & SDDM

    By RahulMay 16, 20222 Mins Read

    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.

    Advertisement

    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

    Related Posts

    Changing the Login Screen Background in Ubuntu

    Changing the Login Screen Background in Ubuntu 22.04 & 20.04

    Installing LightDM on Ubuntu Desktop

    How to Install LightDM Display Manager on Ubuntu

    Switching default Display Manager in Ubuntu

    How to Change Display Manager in Ubuntu Desktop

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Split Command in Linux With Examples (Split Large Files)
    • Test Your Internet Speed from the Linux Terminal
    • 11 Practical Example of cat Command in Linux
    • sleep Command in Linux with Examples
    • 20 Basic Linux Commands for the Beginners (Recommended)
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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