Thanks god I solved it!!!
While exiting from /etc/lightdm/lightdm.conf I pressed inadvertently option+x instead control+x and I added “†” in the file without realising it.
Thank you guys for helping me out
How would I do that??
Sorry again I’m quite new at this…