Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Desktop Environments»How to Change Display Manager in Ubuntu Desktop

    How to Change Display Manager in Ubuntu Desktop

    By RahulMay 27, 20223 Mins Read

    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.

    Advertisement

    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

    Related Posts

    Switching Display Manager in Ubuntu

    Switching Display Manager in Ubuntu – GDM, LightDM & SDDM

    Installing LightDM on Ubuntu Desktop

    How to Install LightDM Display Manager on Ubuntu

    Top 10 Linux Desktop Environments

    10 Best Linux Desktop Environments of 2023

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • How to List Manually Installed Packages in Ubuntu & Debian
    • 10 Bash Tricks Every Developer Should Know
    • How to Validate Email Address in JavaScript
    • Firewalld: Common Firewall Rules and Commands
    • 12 Apk Commands in Alpine Linux Package Management
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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