The 'X Error: BadDevice, invalid or uninitialized input device 168...' warnings is a separate issue. If you compare that output to the previous comments on this bug you won't find it. And it is not limited to kate.
The problem in the initial bug report, is that kded,kio_server,kdeinit etc. are not allowed to connect to the users X server when started with root privileges. All local connections can be allowed with the command: $ xhost local: And denied with: $ xhost -local: If you use kdesu to start X programs this will not be a problem. -- Kate throws a screen of errors when invoked using sudo... kate still starts https://launchpad.net/bugs/64735 -- kubuntu-bugs mailing list kubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs