
Originally Posted by
evetsnameloc
I don't know if anyone else has experienced the problem I am about to describe. I don't know if it is a bug, or even a recognized problem, or if this is the right place to post, but...
Over a couple of reinstalls of 12.1 x86_64, KDE 4.8.4, on a couple of different machines, I have had problems with kdesu. The problem is this: if I do "kdesu something" a few times, the system will get to the point where it takes about 30 seconds for the application to open. Sometimes it doesn't open at all. The same thing happens when invoking "File Manager - Super User Mode" from the Applications menu. After looking into this a bit I found that System Monitor was loaded with "dbus-launch" and "dbus-daemon" processes, all owned by root. I also saw that each time I would try to open "File Manager - Super User Mode" again, or run another "kdesu something", another "dbus-launcher" and "dbus-daemon" would appear, and would then persist after the application was closed. I then found that if I went through and killed all these dbus processes that were owned by root, the system would become responsive again, only to slow down again as the dbus stuff would reaccumulate.
I managed to fix this behavior by doing the following:
1) I changed to "command" in the "File Manager - Super User Mode" launcher from "dbus-launch dolphin %i -caption "%c" "%u"" to "dbus-launch --exit-with-session dolphin %i -caption "%c" "%u"".
2) I added the following line to my .bashrc file: alias kdesu='kdesu dbus-launch --exit-with-session'
Now the dbus-launcher and dbus-daemon both go away after the respective application is closed, and things don't slow down after repeated openings.
Any comments, explanations, critiques, or scoldings about this would be welcome.
Bookmarks