Black screen after starting KDE plasma session

Project:Linux software
Category:bug report
Related pages:#5416: Server
Tags:Black screen, ksmserver, server

In KDE Plasma 5, I started a new session and while the session was not completely loaded, I start to tab into another activity, but got a completely black screen, with only the white mouse pointer that I still could move on it.

I went into a TTY console and did:
ps aux | grep X
and kill the pid of the X process.
I was immediately brought back to the session login screen (sddm).
I logged in again and I saw an X window with the mention:
"Could not start ksmserver. Check your installation".



Right after posting the above comment, I clicked OK on the dialog with "Could not start ksmserver. Check your installation" and the session crashed straight away, bringing me back again to a sddm session login screen.