Leave and Log Out nil

Let’s assume, hypothetically, that the user has pressed the buttons provided to him in the KDE/Plasma settings until the settings have worn out to such an extent that logging out, restarting and shutting down the PC via the button provided for this purpose is no longer possible, the desktop is blocked and the user has to go to a linux root console to restart SDDM or do what is necessary. Let’s further assume that all other accounts on the PC behave normally. In such a scenario, where should this user start looking for the error that has crept in?