This article will describe installing LXDE for desktop environment.
Table of Contents
1 Install LXDE
The following command will install LXDE.
$ sudo apt install -y lubuntu-desktop <snip> check for a default display manager. 1. gdm3 2. sddm Default display manager: sddm <snip> $ sudo reboot
The following makes selecting display manager be automated.
#!/bin/sh -e unset TERM sudo apt install -y expect cat <<EOF | expect set timeout -1 spawn sudo apt install -y lubuntu-desktop expect "Default display manager: " send "sddm\n" expect eof EOF sudo reboot
2 Login to LXDE
3 Uninstall LXDE
The following command will uninstall LXDE.
#!/bin/sh -e sudo apt remove -y lubuntu* lxqt* openbox sddm sudo apt autoremove -y sudo apt install --reinstall -y gdm3 sudo reboot