For a long time now i always had the problem that kdesu didn't open programs in superuser mode via: $ kdesu systemsettings The password prompt shows up, but than nothing happened. After searching the web, it seems that i'm not the only one who hit the problem if you look here [1] and here [2]. On the other side i found a workaround where people suggest using: $ kdesu dbus-launch systemsettings that worked perfectly as well. But today i found the reason why it didn't work and it's pretty simple. After remerging dbus with the "X" use flag, restart everything (dbus and kde) "kdesu systemsettings" worked perfectly again. (other apps too) I could reproduce that problem on two pc's and could fix it with enabling that use-flag. Besides that it also solved another problem - bug report is coming ;) [1] https://bugs.kde.org/show_bug.cgi?id=165268 [2] http://forums.opensuse.org/english/get-technical-help-here/applications/477057-dbus-problem.html Therefore i suggest adding "sys-apps/dbus X" to the dependencies of kdesu.
This issue should only affect user who dont use desktop or desktop/kde profile. As almost all packages in kde-base/ dont depend on sys-apps/dbus directly but on x11-libs/qt-dbus (which have a dep on sys-apps/dbus). I would sugggest following to add a X use flag on x11-libs/qt-dbus. In example: IUSE="... X ..." DEPEND=" ... sys-apps/dbus[X?] ... " @qt Please discuss
Can't you just put the dependency on dbus[X] in kdelibs?
*** Bug 429916 has been marked as a duplicate of this bug. ***
Thank you for the report. sys-apps/dbus[X] is pulled in by kde-base/kdelibs which solves this bug and additionally #429916. It is fixed now in CVS. Please sync in some hours to get the changes. + 07 Aug 2012; Johannes Huber <johu@gentoo.org> + kdelibs-4.8.4-r1.ebuild, kdelibs-4.8.5.ebuild, kdelibs-4.9.0.ebuild: + Add sys-apps/dbus[X] to RDEPEND for non-desktop profiles, see bugs #429910, + #429916. Thanks to Michael Mair-Keimberger <bu9zilla@gmail. @pesa: Thanks for feedback here and in irc.
Hi, Unfortunately, i have to reopen this bug. Since kdelibs is long gone, this problem is vaild again as dbus wouldn't be build with X enabled on a non desktop profile. I found this when i was cleaning up my use flag file ;)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=8d8e6306d9c2cff58ef45e182f020734561c390b commit 8d8e6306d9c2cff58ef45e182f020734561c390b Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-06-01 22:49:45 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-06-07 20:36:14 +0000 kde-plasma/kde-cli-tools: Drop obsolete blocker, no kdesu by default kdesu is only operational in X and increasingly obsolete. Add RDEPEND on sys-apps/dbus[X] to make USE kdesu work. Remove /usr/bin/kdesu5 symlink (we've had /usr/bin/kdesu for >=2 years). Bug: https://bugs.gentoo.org/429910 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> kde-plasma/kde-cli-tools/kde-cli-tools-5.16.0.ebuild | 7 ++++--- kde-plasma/kde-cli-tools/kde-cli-tools-5.16.49.9999.ebuild | 7 ++++--- kde-plasma/kde-cli-tools/kde-cli-tools-9999.ebuild | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-)
This is going to be fixed again in 5.16.0, this time in kde-cli-tools[kdesu] itself.