Also consider to take a look at the log files. Most important could be the X log file and the display manager's and it's greeter's log files. Assuming you are using X and not Wayland, run grep EE /var/log/Xorg.0.log I don't know where Wayland has got its log file/s and what display manager you are using, so Google is your friend.