So this is a strange case.
I used to be a windows user but then I switched to Ubuntu and was using Gnome as usual. Everything was fine but one day I installed an app called Texts.com. It was an appImage and It run well the first time but then suddenly my system crashed.
I thought it was a normal error. So when I restarted, it went on the usual screen asking my username and then my password. As soon as I entered the password, the screen crashed and I was shown the following screen.Image may be NSFW.
Clik here to view.
After this I tried to switch to Openbox and got a plain black screen.Then after much struggle, I got to open the terminal at the login screen, entered the password and installed lxqt / Lubuntu using terminal only, and much to my surprise, the Lubuntu is working fine.
But I dont want to use Lubuntu and want to go back to Gnome or the normal Ubuntu I used to have.Here is how my display manager looks.Image may be NSFW.
Clik here to view.
I have removed the Texts.com app and tried running Gnome again but I get the same error.