Usually i use auto-login but today i was given a login screen. I entered my username, password but was told the password or username was incorrect.
Booted to single mode to check i was entering the correct username and reset the password and root password at the same time. After trying to login to my usual account a few times i decided to try root and it worked. I looked at the lightdm.log and it shows that it is failing to authenticate but doesn't say why and there is nothing outstanding in the journal.
Below is where the auto login fails in lightdm.log.
[+2.27s] DEBUG: XServer 0: Connecting to XServer :0 [+2.28s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) [+2.28s] DEBUG: Seat seat0: Display server ready, starting session authentication [+2.28s] DEBUG: Session pid=675: Started with service 'lightdm-autologin', username 'defualt' [+2.32s] DEBUG: Session pid=675: Authentication complete with return value 7: Authentication failure [+2.32s] DEBUG: Seat seat0: Switching to greeter due to failed authentication [+2.32s] DEBUG: Seat seat0: Creating greeter session [+2.32s] DEBUG: Session pid=676: Started with service 'lightdm-greeter', username 'lightdm'
I don't really know what other information is useful. I haven't downloaded any new software and there have been no updates these past few days. I tried running pamac update and that threw a few errors, not sure if its related or not.