Hi, @Pratyay .
I've searched the web for the error message that appears several times in those screenshots, namely the following error message:
[FAILED] Failed to start Light Display Manager
The best result I've found was the following Question & Answer in the "Unix & Linux Stack Exchange", asked and answered by the user ex1led in May 2020, where the user was also getting that "[FAILED] Failed to start Light Display Manager" error message and the "A start job is running for Hold until boot process finishes up ( <mins> / no limit)" message:
The answer in that web page also seems to fit your situation (it implies entering the so-called "Recovery Mode" in the "Advanced Options for Ubuntu" section in "GNU GRUB" menu. If you don't know how to enter "Recovery Mode", you may find instructions to do that in several web pages such as "How do I boot to recovery mode in Ubuntu 20.04? - Ask Ubuntu"):
" So what the main problem was that the display manager was not working correctly. The most common solutions/suggestions that you can find on this topic (e.g., [1],[2]) do recommend (among others) that you
dpkg reconfigure
thelightdm
package. But in order to do so, you need some terminal prompt.As mentioned above I was not able to access any kind of terminal by using ctrl + alt + f1/f2. What I did actually, was to access ubuntu in recovery mode and from there get a root terminal in order to proceed with the reconfiguration of the lightdm package.
After I logged in as a
#root
I didsudo dpkg-reconfigure lightdm
and then rebooted my machine. The error persisted and so I tried to remove completely and then re-install the display manager. I followed the same steps, selectedUbuntu Recovery mode
from the OS select menu, and then I selectedenable networking
before I open a root terminal in order to have a network connection and be able to fetch the package.Seems that I've opened Pandora's box at this point. There is a bug ( see [3],[4] ) in the recovery mode, and although I am using UbuntuMATE 20.04 and the error concerns an older version of the kernel apparently it still exists (?). So...I had first to enable the Networking of my system manually.
I removed (
sudo rm
) the dangling link of/etc/resolv.conf -> /run/resolvconf/resolv.conf
and then I created another resolv.conf file at /etc/ dir with valid DNS servers. I saved the file and restarted the network manager. After that I triedping 8.8.8.8
and I got a response.# resolv.conf file nameserver 8.8.8.8 # primary DNS server for Google DNS nameserver 8.8.4.4 # secondary DNS server for Google DNS
Since I now had access to the internet I did the following:
sudo apt purge xorg lightdm
sudo apt autoremove
sudo apt install xorg lightdm
After rebooting the machine I was able to log-in successfully. "
I hope that helps