Can't log-in to desktop through GUI

After I turn on my pc I can’t log-in using the GUI. I can however log-in using tty + startx and if I block my pc I can log-in normally through the GUI.

Other posts recommend looking for pacnew files in etc/pam.d. I did that and found nothing. So I don’t know where to start. Here is the output of journalctl -b

Should I just do a fresh install? Or is there something I can do to fix it

Does this also happen when you create a new user and log in there?

I.E. execute:

sudo useradd david2

then reboot (just to be sure) and try to log into david2