I have been using an older version of Kali Linux. I used to update occasionally. Since the distro had lot of improvements in the past couple of years, I decided to go for a dist-upgrade. Once the upgrade was finished I wasn’t able to log in to my machine. The login window was appearing and I was able to provide the credentials as well. The OS was even accepting the credentials and then nothing happens. Kali Linux was stuck at a blue screen. I guess its my default screensaver. Lets see how to fix the blue screen no icons error in Kali Linux. Such issues in Ubuntu can also be fixed in a similar manner.
Let us try and see the root cause. When you login to your Linux machine, what you see on your desktop is called a monitor is called a desktop environment. Each Linux distro will be pre-configured with a specific desktop environment. For example, Ubuntu by default comes with Unity, Kali Linux is shipped with Gnome.
Certain times, due to dependency issues, for example during a large upgrade. Linux may fail to load the desktop environment properly. In my case, I was using Kali Linux and the default desktop environment was Gnome. I did a dist-upgrade and it broke some function of Gnome. At the next reboot, Gnome wasn’t loading properly and it kept showing me the blue screen(which is the default wallpaper).
Well, Yes and No. When it comes to Ubuntu, the issue was reported a long back. Back in 2014. You can read the details here: https://bugs.launchpad.net/ubuntu/+source/at-spi2-core/+bug/1285444
The issue seems unassigned to someone and people are still reporting the same bug even in 2019. Basically, the unity plugin was got turned off during the upgrade which causes the bug.
Though I haven’t been able to notice any other places where it is marked as a known bug.
In my case, I was using Kali Linux.The fix was easy for me. Here are the steps that I have followed.
ALT + CTRL + F1
Now you will be greeted with tty1. If not, try to replace F1 with F2, F3 and so on to F6.
# apt install --reinstall lightdm ubuntu-desktop
If you are using gdm2, which could be the display manager of latest Kali Linux distros,
# apt install --reinstall gdm2
In case of Ubuntu, the issue may arise because of missing Unity plugin as well. In that case, a simple unity reinstall may not work. You need to manually enable the unity plugin. To do so,
$ sudo apt-get install compizconfig-settings-managerand, reinstall unity
$ sudo apt-get --reinstall install unity
DISPLAY=:0 ccsm &
ALT + CTRL + F7There, you will be greeted with CompizConfig Settings Manager
$ sudo reboot
I have added a YouTube video to help understand things easily. Do comment down if you stuck anywhere in between. Happy to help 🙂
What is this web security checklist? Here is a curated web security checklist for developers… Read More
In the last part of the blog series we have seen the history of internet… Read More
Welcome back budding pen-testers. :) In the first part of the blog series we have… Read More