STEPS TO REPRODUCE Follow the steps in Bug 510775. i.e.: 1. Have the KCM in its default state (1 or more system users, none checked; no additional users) 2. Click the on/off switch to turn on the server OBSERVED RESULT The switch turns on and then immediately turns off again, with no explanation. `systemctl status --user app-org.kde.krdpserver.service` reveals what happened: Oct 17 14:35:35 engine krdpserver[43762]: No users configured for login. Either pass a username/password or configure users using kcm_krdp. This error message should be shown in the UI somewhere. A Kirigami.InlineMessage in the header would probably be adequate.
We don't do this for any other service where we have a configuration UI. Network / Pulseaudio / bluetooth.
Git commit bb4c9a0fc51bf67df58f9485c4093a9dcc282385 by Akseli Lahtinen. Committed on 06/11/2025 at 08:16. Pushed by akselmo into branch 'master'. StartupFailureDialog: Show error inline message if KRDP fails to start When starting krdpserver systemd unit, receive its state and handle it accordingly. On failure, we show an inline message with the error from the units journal entry. Related: bug 510775 M +3 -0 CMakeLists.txt A +28 -0 cmake/FindSystemd.cmake M +1 -0 src/kcm/CMakeLists.txt M +162 -7 src/kcm/kcmkrdpserver.cpp M +42 -2 src/kcm/kcmkrdpserver.h M +27 -6 src/kcm/ui/main.qml https://invent.kde.org/plasma/krdp/-/commit/bb4c9a0fc51bf67df58f9485c4093a9dcc282385