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»How to Change Display Manager in Ubuntu Desktop

    How to Change Display Manager in Ubuntu Desktop

    RahulBy RahulApril 30, 20223 Mins ReadUpdated:May 27, 2022

    All the Linux Desktop systems have a default display manager, which is responsible for user authentication and loading the desktop environment. Once the system start, the display manager starts the login screen, and after successful user authentication, it loads the desktop environment. It also controls the user session.

    The gdm3, lightdm, and sddm are some popular display manager programs. gdm3 is the default for Gnome desktops, and sddm is the default used by KDE desktops. The lightdm is the lightweight cross-desktop display manager.

    This tutorial will help you to change the default display manager in your Ubuntu desktop system.

    Changing Default Display Manager in Ubuntu

    Before doing changes, this will be good to enable the ssh server on your system. So in case, the new display manager failed to load you still have system access over an ssh connection.

    Use the following steps to install lightdm display manager and change the default display manager in the Ubuntu system.

    1. Check Current Display Manager – To begin, you need to check the current default display manager.
      cat /etc/X11/default-display-manager 
      
      /usr/sbin/gdm3
      
    2. Installing Required Display Manager – LightDM is a cross-desktop display manager that supports different desktop technologies. It is a more lightweight, and faster display manager than gdm3.

      Use the following command to install LightDM display manager:

      sudo apt update 
      sudo apt install lightdm
      
    3. Change Default Display Manager – You can change the default display manager any time by running the following command:
      sudo dpkg-reconfigure gdm3 
      

      You will see a screen as shown below. This will list all the display managers installed on your system.

      How to Switch Display Manager in Ubuntu
      Switching Display Manager in Ubuntu

      Use the keyboard UP+DOWN arrow keys to select the required display manager. Then press the Tab key to select Ok and hit Enter.

    4. Verify Changes – You have successfully changed the default display manager on your Ubuntu system. To verify the changes, run the following command.
      cat /etc/X11/default-display-manager 
      
      /usr/sbin/lightdm
      
    5. All done. Reboot your system to load Desktop with newly configured display manager.

    Revert All Changes

    You can revert the above change by using the command:

    sudo dpkg-reconfigure gdm3 
    

    Select the previously configured display manager and hit the Ok button.

    Conclusion

    In this guide, you have learned to change the default display manager on a Ubuntu desktop system. It also included steps to install a lightweight and faster lightdm display manager.

    A default display manager is always installed during the installation of the Desktop Environment. Also the desktop managers allows you to select desktop environment at login screen.

    Desktop display manager
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Configure Static IP Address on Ubuntu 22.04
    Next Article How to Check IPv4 Address on Ubuntu 22.04

    Related Posts

    Switching Display Manager in Ubuntu – GDM, LightDM & SDDM

    Updated:May 16, 20222 Mins Read

    How to Install LightDM Display Manager on Ubuntu

    Updated:May 10, 20222 Mins Read

    10 Best Linux Desktop Environments of 2022

    Updated:June 1, 20227 Mins Read

    How To Install Cinnamon Desktop on Ubuntu

    Updated:April 29, 20223 Mins Read

    How to Install and Switch Desktop Environments in Ubuntu

    4 Mins Read

    How To Install XRDP (Remote Desktop) on Fedora

    Updated:June 15, 20214 Mins Read

    Leave A Reply Cancel Reply

    Recent Posts
    • How To Install Google Chrome On macOS
    • How to Install Minecraft on Ubuntu 22.04 & 20.04
    • Running a Cron job every Sunday (Weekly)
    • Running Multiple Commands At Once in Linux
    • What are the Access Modifiers in Java
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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