Score:0

Lubuntu is stuck on loop

cn flag

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.

guiverc avatar
cn flag
Please provide release details... Are you talking about *modern* Lubuntu with LXQt or a *legacy* release with LXDE. Ubuntu doesn't default to Unity in `ubuntu-desktop` on any supported release. We also don't know what DM you have by default (varies on release) as you've not provided enough detail yet.
nobody avatar
gh flag
`ls -al /usr/share/xsessions/` Please add this to your question.
guiverc avatar
cn flag
Are you aware that flavors of Ubuntu only come with three years of supported life (five years applies to Ubuntu Desktop, Ubuntu Server but not flavors), so you're asking about a release that is now EOL (*end-of-life*). See https://fridge.ubuntu.com/2020/08/14/ubuntu-18-04-5-lts-released/ https://lubuntu.me/bionic-5-released/ https://lubuntu.me/bionic-eol/ with support ending April-2021. Use `ubuntu-support-status` on your system to confirm the supported/unsupported packages & act accordingly (ie. how important is security to you, are you offline etc?)
guiverc avatar
cn flag
I would also check your facts, the package `ubuntu-desktop` does **not** include the Unity (7) desktop, the last release that provided that was Ubuntu 17.04. Ubuntu 17.10 and later use GNOME (3). Lubuntu 18.04 is EOL and is *legacy*, the last using the now deprecated LXDE desktop (using deprecated GTK2 libraries; the real issue with LXDE). The first *modern* Lubuntu (using Qt5) was Lubuntu 18.10, with the oldest supported Lubuntu being Lubuntu 20.04 LTS. To install Unity on *bionic* or 18.04 the package was https://packages.ubuntu.com/bionic/ubuntu-unity-desktop
Berkay Demirci avatar
cn flag
Thanks for correcting me. I initially didn't realize 18.04 wasn't the latest as it was the first result when I Google'd Lubuntu and I found about it later but didn't want to bother reformating. I did it for the old potato PC in my home, for my little sister anyway, so security isn't a big concern for now.
guiverc avatar
cn flag
FYI: If you searched google for downloads.. be sure of what you have, as google offers *at least* 3 sites to download Lubuntu, and only 1 of the 3 is legitimate & associated with Ubuntu/Lubuntu and under Canonical control (Canonical is the company behind Ubuntu). It's best to go to ubuntu.com for Ubuntu *flavors* or https://ubuntu.com/download/flavours (and not google unless you can assess which are legit & fan/fake sites; *fan* sites maybe well intentioned, but are often *out-of-date* and can give outdated...)
Score:0
ar flag

Try this,

Simply start Ubuntu like you normally do. When you see the login screen, don’t sign in. Instead, press Ctrl + Alt + F3 on your keyboard.

NOTE: Ubuntu will drop out of the GUI login screen and into a Terminal mode.

Enter your username in the terminal prompt and enter the password when asked. Now, run the following commands:

sudo apt update
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
sudo apt-get -y clean
reboot

After executing the commands you will be able to login into Ubuntu successfully.

NOTE: To exit the Command line, you can use a keyboard shortcut that is Ctrl + Alt + F2, to get back the Graphical User Interface.

Score:0
in flag

You are probably stuck on the "purple screen" because you have partially uninstalled your graphical environment and tried to log in using it anyway.

To repair damage like this, you may need to log in via a text console (Ctrl-Alt-F3 for instance), but getting to a terminal window in the GUI works too.

To make sure lubuntu's graphical environment is installed, run apt install lubuntu-desktop

Once that completes, you can return to the graphical environment (alt right arrow until you get it) or log out if you were already there.

Then, when you are logging in, before you enter your password, click on the icon in the top right corner of the login window, next to the login name. This should give you a menu of graphical environments, which hopefully includes lubuntu.

Once you have selected your desired graphical environment, continue logging in normally.

Berkay Demirci avatar
cn flag
It turned out that i was stuck there because I was on an Openbox session lol
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.