No just use the commands as user within your KDE session.
I don’t understand much of the link you supplied - sorry.
Well, it was just a reading guide to help with general debugging. I don’t have issues with Plasma 5 that require any such debugging. (I was just offering general advice really.)
I’ll leave others to comment further about your xsession errors.