How to Install LXDE Desktop Environment on Debian 12

H

debian 12 bookworm Debian is the latest series of GNU/Linux operating systems which was released on July 13, 2023. By default, it uses the GNOME environment which offers more advanced features than other desktop environments. However, it consumes high memory resources which will not be ideal for users using low-memory systems. lxde is a lightweight desktop environment that was designed for such low-memory systems. It provides you with a complete desktop setup with functional and customizable interface that consumes less memory resources.

In this guide, you will learn about:

How to Install LXDE on Debian 12

you can install lxde Using Debian 12:

  • debian source repository
  • taskcell command

How to Install LXDE on Debian 12 Using the Debian Source Repository

you can install lxde On Debian 12 from the default Debian repository using the following steps:

Step 1: Update Packages on Debian 12

First, update the Debian 12 repository by upgrading the installed packages using the following command:

sudo apt update , sudo appropriate upgrades -ya

Step 2: Install LXDE on Debian 12

Then use the following command to install lxde Desktop environment on Debian 12 from the source repository:

Comment: you can also use lxde-core package in place of come In the above command to establish the minimum set of elements. In addition, you can also use task-lxde-desktop To install full Debian lxde Desktop environment.

Step 3: Select the Default Display Manager for Debian 12

When running the above command, you will see a configuring lightdm Promptly at the terminal. There, you will be provided with several display managers to choose from. To proceed to the display manager selection, simply press enter Button on current window:

then choose default performance manager As per your choice:

Here, I'm going with it lightdm, which is a lighter display manager than GDM3:

Step 4: Reboot the device

To log into your system with the new Display Manager lxde In desktop environment, you should reboot your system using the following command:

Step 5: Select desktop environment for Debian 12

click on session option in the upper right corner of the screen, then select lxde Options from the list of desktop environments:

Step 6: Login to Debian System

Provide Debian username and password, then click on log in button:

wait a few seconds then you will see lxde Desktop environment on your Debian system:

How to remove LXDE from Debian 12

if you want to remove lxde From Debian 12, just run the following command:

sudo apt autoremove lxde, -y

How to install LXDE on Debian 12 from tasksel command

A on the pocket is a command-line tool that allows you to install packages and desktop environments on your systems, including Debian 12. It provides you with a list of multiple desktop environments that can be quickly installed on any Linux distros. to use on the pocket order to install lxde For desktop environment on Debian 12, use the following steps:

Step 1: Run tasksel command on Debian 12

Open Terminal and run on the pocket Command with sudo privileges on your Debian system:

Step 2: Choose desktop environment for Debian 12

then choose lxde by pressing space button to select and use enter Button to start installation:

It starts the installation lxde Desktop environment on Debian 12:

Wait for the installation to complete and then follow step 4 To Step 6 first method of running lxde Desktop environment on Debian 12.

Comment: If you have not installed Debian 12 yet, you can choose lxde Options at installation time. it will install lxde Desktop environment on Debian 12 at runtime.

How to Reconfigure Display Manager for LXDE on Debian 12

If you want to reconfigure your display manager lxde On your Debian system, you can simply run the following command:

sudo dpkg-reconfigure gdm3

From there you will be able to select your display manager and reconfigure it on Debian:

How to Make LXDE the Default Session Manager in Debian 12

you can also make lxde Create the desktop environment as your default session manager in Debian 12 using the following steps:

Step 1: Open the Session Manager List on Debian

Open terminal and use the following update-options Command to open session manager list installed on Debian systems:

sudo update-options –config x-session-manager

Step 2: Select Session Manager

In our system list, lxde Session Manager is present at position 2, so enter the desired Session Manager position and press enter,

Step 3: Reboot the device

Then reboot your Debian system and enter the username and password to login successfully on default lxde Session Manager.

conclusion

lxde is a lightweight desktop environment that can be installed on Debian 12 from the source repository on the pocket Permission. The source repository method requires updating the package list, then installing lxde Through appropriate installation Permission. while for on the pocket method, you have to run on the pocket run command with sudo privileges then choose lxde Options from the list of packages. running process lxde On Debian 12 the same is described in the above section of this guide. Both these methods are quick and can be installed effectively lxde Desktop environment on your Debian system.

Add comment

By Ranjan