https://bugs.kde.org/show_bug.cgi?id=476534
Bug ID: 476534 Summary: Overriding D-Bus services does not work automatically using install-sessions.sh Classification: Developer tools Product: kdesrc-build Version: Git Platform: Compiled Sources OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: mp...@kde.org Reporter: putr...@gmail.com Target Milestone: --- SUMMARY In the upstream dbus-daemon session.conf file [1], `<standard_session_servicedirs />` is placed above all of the `<includedir>session.d</includedir>` type stuff, so the `<servicedir>/opt/kde-dbus-scripts/services</servicedir>` part that is added by `install-sessions.sh` will be below the standard (system and user) directories. This means that for a system that has KDE Plasma installed both through the distro as well as kdesrc-build dbus-daemon will pick the version installed through the distro rather than the one provided by kdesrc-build, as per the documentation [2]. In my case this is a problem when trying to logout/shutdown/reboot with the log out greeter/screen enabled in a Plasma 6 session from kdesrc-build alongside Plasma 5.27.9 from the Arch repos, since DBus will load the Qt5 version of the greeter from the repos but with the QML2_IMPORT_PATH environment variables and such set so that it tries to load the Qt6/KF6 versions of things instead (specifically it failed at loading `~/kde/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/logout/Logout.qml`). To work around the logout greeter problem I copied the `org.kde.LogoutPrompt.service` file to `.local/share/dbus-1/services/`, that makes the greeter in the Plasma 6 session work. [1]: https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/bus/session.conf.in [2]: https://dbus.freedesktop.org/doc/dbus-daemon.1.html STEPS TO REPRODUCE 1. Compile and install a Plasma 6 session via kdesrc-build 2. Login into the new session 3. Try to logout/reboot/shutdown with the logout screen/greeter enabled OBSERVED RESULT The screen just blurs, but no buttons or anything else appear. EXPECTED RESULT The options to logout, reboot, shutdown and so on should appear. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.240.0 Qt Version: 6.6.0 Kernel Version: 6.5.9-arch2-1 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics Memory: 30.6 GiB of RAM Graphics Processor: AMD Radeon Graphics ADDITIONAL INFORMATION kdesrc-build is at commit 883ab6c750f8899af570d5b805d9493d451d501c when I downloaded it. -- You are receiving this mail because: You are watching all bug changes.