SUMMARY KSystemLog is started as root to read the log files. However, it is bad practice to run GUIs with root privileges due to security vulnerability issues and because this doesn't work in Wayland. I recently switched to Wayland and KSystemLog doesn't work anymore. Relevant info can be found here for example: https://wiki.archlinux.org/title/Running_GUI_applications_as_root Here is a bug report about Wayland not running applications as root: https://bugzilla.gnome.org/show_bug.cgi?id=772875 STEPS TO REPRODUCE 1. Switch to Wayland on Debian11/KDE (upper left of the login screen) 2. Try to run KSystemLog, entering the root password OBSERVED RESULT Does not start. (It only starts when starting without sudo from the console, not via the .desktop entry in the menu or via the root GUI Wayland workaround.) EXPECTED RESULT It should start and after starting prompt the user for the root password to read the root-owned log files. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian 11 KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 KSystemLog: "4:20.12.0-1" ADDITIONAL INFORMATION
For making kdesu/xdg-su work with XWayland at least you need https://invent.kde.org/plasma/kwin/-/merge_requests/665 (5.22+).
*** Bug 456793 has been marked as a duplicate of this bug. ***
*** Bug 486442 has been marked as a duplicate of this bug. ***