Version: 2.4 (using KDE 3.4.0, Debian Package 4:3.4.0-0ubuntu3.2 (3.1)) Compiler: gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2) OS: Linux (i686) release 2.6.10-5-386 kate crashes when invoked with sudo. For example, to edit the file /etc/cups/cupsd-browsing.conf: sudo kate /etc/cups/cupsd-browsing.conf gives Error: "/var/tmp/kdecache-chandraEsOqK9" is owned by uid 1000 instead of uid 0. Link points to "/var/tmp/kdecache-root" kate: ERROR: Communication problem with kate, it probably crashed. There is also an error message with kedit: sudo kedit /etc/cups/cupsd-browsing.conf gives Error: "/tmp/kde-chandra" is owned by uid 1000 instead of uid 0. Link points to "/tmp/kde-root" But kedit does not crash. Also, with kwrite, sudo kwrite /etc/cups/cupsd-browsing.conf gives Error: "/var/tmp/kdecache-chandraEsOqK9" is owned by uid 1000 instead of uid 0. Link points to "/var/tmp/kdecache-root" Error: "/tmp/kde-chandra" is owned by uid 1000 instead of uid 0. Link points to "/tmp/kde-root" but kwrite does not crash. Only kate crashes. NB: I use Kubuntu Hoary and use sudo kate for editing files in the system area since the root user is not generally used. If I need to report this to the (K)ubuntu packagers, do let me know. I have now switched to kedit for sudo editing. TIA.
I see the same text you list above, but I cannot get Kate to crash. I'm running Kate from the 3.5 branch in svn, so I'm guessing this bug has been fixed? Fedora Core 3 KDE - 3.5 branch from svn. Thanks, Dave
This is a problem with KUniqueApplication, in KDE 3.5, this will be possible, the KDE 3.x releases before won't work that way as they NEED DCOP and that failed.