In the last day or two, I have received updates for java, perl, and python. One of these updates, and I do not know which, broke my system rather painfully. I think I have the problem solved, but I am not certain yet.
Symptoms are these:
With screen locker on, enter password to unlock screen, and get a message (I forget the exact wording) that the screen is not unlocked because the screen unlocker is not working. Switch to console window (ctrl-alt-Fn) and log in as root. Run top, discover kwin is running 100% of one core. Kill kwin, switch back to desktop window and try to restart kwin using alt-F2, or using any available shell window that can be reached.
At this point, alt-F2 does not respond, no widgets in the taskbar respond to the mouse, and a cursor cannot be activated in a shell window. In other words, cannot restart kwin by any means.
Switch back to console window, and restart dm (service dm restart). I should also note that killing dm also killed several running virtual machines (which is not supposed to happen...they are supposed to keep running). Killing those VMs caused me a significant amount of separate trouble, but that is off of this topic.
KDE desktop restarts after dm is restarted, and I can log in. I do so, and things seem to be working. I switch back to console window, log out, switch back to desktop...and desktop display stays black (with working mouse). Switch back to console window, log in again, run top, and see kwin is again running 100% of one core. Switch back to desktop, watch black screen for awhile waiting to see if it will come to life. It doesn't. Switch back to console and restart dm again.
Upshot is that if I switch away from the desktop, kwin runs away, and if I allow screen locker to activate on desktop, screen unlocker does not reliably work (it did work sometimes).
After a considerable amount of aggravation, I finally solved the problem (I think) by using rsync to restore my system to the day before yesterday (love my backup procedures...they can get me out of anything). I observed what files were changed, and the ones that appear relevant were the aforementioned python, perl, and java. So one of those updates has a problem.