Version: (using KDE KDE 3.5.2) Installed from: SuSE RPMs Normally when any app is not responding the appropriate dialog shows up with options -- terminate or continue running. However, I found that yast while downloading new packages is misbehaving because it not respond to any "abort" button. It is yast bug. But it is KDE bug that it can't kill such app -- I couldn't turn off the computer. KDE didn't show the normal dialog about terminating the app. The only choise was hard-reset but it is a bit dangerous.
Did kill -9 work?
Yes and no. I (user) cannot kill it -- "operation not permitted", root can. Maybe it would look strange, but than dialog for root password would be a good idea, to kill all such applications.
Reclassifying
JJ: Client::killProcess() in kwin/client.cpp and kwin/killer/ .
it seems that in kwin/killer/killer.cpp there could be a property of the uid owner of the pid, and do an if( uid = "0" ) at the bottom, as to how to prompt for kdesu auth, without trimming the cmd and straight running a command line argument, is a little beyond me.
Created attachment 48026 [details] makes kwin_killer use kauth to kill a root-owned client Borrowed the code that ksysguard uses to kill processes using elevated privileges. Instead of using kdesu I use KAuth.
Would you mind to publish the patch on http://reviewboard.kde.org for group kwin? We are currently in feature freeze and have to wait till trunk opens up again. A patch attached to a bug is easily lost and won't be lost with reviewboard.
patch in reviewboard : http://reviewboard.kde.org/r/4460/ Closable?
Git commit 189483d8369877eab49f46baecd6af7f442f629a by Martin Gr����lin. Committed on 07/03/2011 at 18:03. Pushed by graesslin into branch 'master'. Add KAuth support to KWin process killer See http://svn.reviewboard.kde.org/r/4460/ Thanks to Mikael Gerdin for the patch. CCMAIL: mikael.gerdin@gmail.com FEATURE: 129476 FIXED-IN: 4.7.0 M +18 -3 kwin/killer/killer.cpp http://commits.kde.org/kde-workspace/189483d8369877eab49f46baecd6af7f442f629a