Have you ever ever wished to change the login display screen on your Linux PC however have been not sure about how to do it? It’s not as laborious because it sounds! Because it seems, it’s simple to swap between completely different login home windows on Linux, with a number of terminal instructions. On this tutorial, we’ll go over how to change the display manager on Linux. We’ll cowl GDM (Gnome Display Manager,) LXDM (LXDE Display Manager,) and SDDM.
Gnome Display Manager
GDM aka Gnome Display Manager is the DM of alternative for a lot of Linux distributions that select to provide up Gnome Shell as their main desktop atmosphere. It’s trendy, straightforward on the eyes and quick.
To arrange GDM as your default display manager on Linux, it’s essential to first set up it. Open up a terminal and use the instructions that match your Linux OS to get it going.
Ubuntu
sudo apt set up gdm3
Debian
sudo apt-get set up gdm3
Arch Linux
sudo pacman -S gdm
Fedora
sudo dnf set up gdm
OpenSUSE
sudo zypper set up gdm
Gnome Display Manager is finished putting in. The following step is to allow it on your Linux PC with the systemd init system. In a terminal window, use the systemctl allow command. Be certain to add the “f” swap, as it’ll robotically disable your previous display manager.
sudo systemctl allow gdm.service -f
With GDM set as default, reboot your system. When it comes again on-line, Gnome Display Manager can be the new login manager you see.
Cease or restart GDM
For no matter purpose, you could want to cease or restart the GDM login manager briefly.
To restart GDM, do:
sudo systemctl restart gdm.service
To briefly cease GDM (until subsequent boot,) use the cease command.
sudo systemctl cease gdm.service
Disable GDM
Want to flip off GDM for an prolonged interval? Run the disable command.
sudo systemctl disable gdm.service
With GDM turned off, log off of the desktop and restart the pc. After restarting, you’ll discover the Gnome Display Manager is now a terminal immediate.
LXDE Display Manager
LXDM is the default desktop login manager for LXDE and plenty of different lesser-known desktop environments on Linux. It is rather mild, and for that reason, a lot of individuals select to use it.
Utilizing LXDM on your system doesn’t require LXDE or some other LXDE-related bundle. The display manager is fully unbiased of the remainder of the desktop. Set up it by opening up a terminal and coming into considered one of the instructions under.
Ubuntu
sudo apt set up lxdm
Debian
sudo apt-get set up lxdm
Arch Linux
sudo pacman -S lxdm
Fedora
sudo dnf set up lxdm
OpenSUSE
sudo zypper set up lxdm
LXDM, like all login managers, is ready up on the system through systemd. Open up a terminal and allow it (with the “f” swap) to set it as your default display manager.
sudo systemctl allow lxdm -f
Reboot your Linux PC. Upon restarting, LXDM can be the new display manager on the system.
Cease or restart LXDM
Stopping LXDM is finished with the cease command. Working it’ll enable you to cease it from operating, until you reboot once more briefly.
sudo systemctl cease lxdm.service
It is usually attainable to reboot LXDM with the restart command.
sudo systemctl restart lxdm.service
Disable LXDM
To disable the LXDE Display Manager, run the disable command in a terminal window. Understand that it’s essential to re-run the allow command to begin it again up!
sudo systemctl disable lxdm.service
With LXDM disabled, reboot your Linux pc. When it hundreds again up, LXDM can be changed with a terminal window.
SDDM
Although not as well-known, SDDM is rapidly making a reputation for itself as the display manager of alternative for Qt desktop environments. Presently, each KDE Plasma 5 and LXQt make heavy use of it, due to it’s extremely customizable and configurable nature. Nonetheless, anybody can use SDDM, even with no Qt-based desktop like KDE or LXQt, because it handles just about any desktop thrown at it.
Putting in SDDM requires simply the “sddm” bundle. Set up it with considered one of the following terminal instructions under.
Ubuntu
sudo apt set up sddm
Debian
sudo apt-get set up sddm
Arch Linux
sudo pacman -S sddm
Fedora
sudo dnf set up sddm
OpenSUSE
sudo zypper set up sddm
To make use of SDDM, it’s essential to first allow it inside the systemd login manager, with the “f” swap.
sudo systemctl allow sddm.service -f
End up the SDDM setup course of by rebooting your Linux machine. When it comes again on-line, SDDM will greet you as the default login display screen.
Cease or restart SDDM
Thanks to the energy of systemd, customers can reboot or cease the SDDM login manager at any time, proper from the terminal. To briefly cease SDDM from operating, enter the following command right into a terminal.
sudo systemctl cease sddm.service
Alternatively, reboot SDDM and restart its course of on your Linux PC with the restart command.
sudo systemctl restart sddm.service
Disable SDDM
In some unspecified time in the future, you could want to disable SDDM on your Linux PC. Like GDM and LXDM, this display manager could be turned off (upon reboot) with the disable command:
sudo systemctl disable sddm.service