This appears to be a duplicate of bug #50791. I have posted an explanation attempt there which may or may not be correct.
-- kdesu fails when invoked immediately after sudo from terminal https://launchpad.net/bugs/72545 -- kubuntu-bugs mailing list kubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs