I installed Unity using sudo apt install ubuntu-desktop command. It worked at first but when i rebooted the computer, it doesn't give me the option to use Lubuntu Desktop environment, it's just stuck on Unity environment and it doesn't even launch properly, it gets stuck on purple screen when i enter password. Does anyone have any idea to fix that?
Edit: I executed the command "ls -al /usr/share/xsessions/" and here is the list:
Lubuntu.desktop
openbox.desktop
ubuntu-communitheme-snap.desktop
ubuntu.desktop
I also executed the commands that were in the answers but still no change. I included the picture of my screen now. And my Lubuntu is 18.04, modern.
https://i.stack.imgur.com/EXPJm.jpg
Edit 2:
Firstly, I learned that I was wrong about having installed Unity but that wasn't the real problem anyway. But I did manage to solve the problem. I somehow chose gdm3 as greeter which doesn't let you choose a different session apparently, or maybe mine was outdated or something. I then re-installed lightdm and chose that as the new greeter during the installation, so it solved not being able to choose a different session problem.
For the stuck on purple screen problem, it was actually not such a problem which made me laugh at myself. It was how Openbox session was supposed to be like, if I right clicked the desktop, I would have known that it wasn't actually stuck on launch. Anyway, the real problem was that the default session couldn't be changed but now it can be and this turned out to be a good lesson for me.