remove remaining lubuntu lxdm components after auto-upgrading from 18.04 to 20.04 version (it is unsupported, but if it happened to you, cleanup your system, remove unneeded duplicate applications)
just in case, you never know
sudo apt update && sudo apt full-upgrade -y
sudo do-release-upgrade
df -H
sudo apt purge leafpad file-roller galculator gpicview xpad xfburn simple-scan mtpaint pidgin sylpheed transmission-gtk abiword evince gnumeric audacious gnome-mpv guvcview pcmanfm gdebi lxterminal hardinfo lightdm lxpanel lxsession obconf gnome-software gnome-disk-utility system-config-printer-gnome lxhotkey-gtk synaptic update-manager lxpolkit lxtask lxshortcut blueman usb-creator-gtk evince-common
# if you enabled the hardware enablement stack for 18.04, remove also (not needed anymore)
sudo apt purge linux-image-generic-hwe-18.04
sudo apt purge linux-headers-generic-hwe-18.04
sudo apt autoremove
cd /etc/xdg/pcmanfm
sudo rm lubuntu -rf
cd /etc
sudo rm pcmanfm -rf
sudo reboot
if not everything is as expected, juts remove the lubunutu desktop packages and reinstall again. note that your system then only boots to the commandline, until after you reinstall the desktop packages
## remove all of lubuntu (grapical)
sudo apt remove lubuntu-desktop
sudo apt autoremove
# make sure your system boots to the cli (after we removed the gui)
sudo systemctl isolate multiuser.target
sudo systemctl set-default multiuser.target
sync
sudo reboot
sudo apt remove lxgreeter
sudo apt remove lightdm
sudo apt remove lightdm-greeter
sudo apt-get purge lightdm
sudo apt-get install sddm
cat /etc/X11/default-display-manager
sudo dpkg-reconfigure sddm
sudo apt install lubuntu-desktop
sudo apt install vim-athena --install-suggests
sync
sudo reboot
# set it to sddm if not already so
sddm-greeter --test-mode
sudo update-alternatives --config sddm-ubuntu-theme
# you should see that ssdm is used
cat /etc/X11/default-display-manager
# check and set what to enable at boot time (we want a gui now)
systemctl get-default
sudo systemctl isolate graphical.target
sudo systemctl set-default graphical.target
sudo reboot