on archlinux when i try to enable via the toggle it creates 2 systemd user services: ~/.config/systemd/user/plasma-krdp_server.service -> /usr/lib/systemd/user/app-org.kde.krdpserver.service ~/.config/systemd/user/plasma-workspace.target.wants/app-org.kde.krdpserver.service -> /usr/lib/systemd/user/app-org.kde.krdpserver.service automatic KRDP start fails because of the following error: plasma-workspace.target: Job app-org.kde.krdpserver.service/start deleted to break ordering cycle starting with plasma-workspace.target/start looking at the service file, the current one is: *** # SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL # SPDX-FileCopyrightText: 2024 Akseli Lahtinen <akselmo@akselmo.dev> [Unit] Description=KRDP Server After=graphical-session.target [Service] Type=exec ExecStart=/usr/bin/krdpserver Restart=on-abnormal [Install] WantedBy=plasma-workspace.target Alias=plasma-krdp_server.service *** however, in the beta the autostart worked. there, the service file was: *** # SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL # SPDX-FileCopyrightText: 2024 Akseli Lahtinen <akselmo@akselmo.dev> [Unit] Description=KRDP Server After=graphical-session.target Requires=plasma-xdg-desktop-portal-kde.service [Service] Type=exec ExecStart=/usr/bin/krdpserver Restart=on-abnormal [Install] WantedBy=graphical-session.target *** the workaround i found to get krdpserver to autostart properly was as follows: disable the autostart that the stable release creates making sure the user systemd does not reference krdpserver copy the service file that was used in the beta to ~/.config/systemd/user execute: systemctl enable --user plasma-krdp_server.service
Same issue on Fedora Kinoite 41 The workaround using the beta service file doesn't seem to work for me Restarting the stable service app-org.kde.krdpserver after startup does work so I just created a timer to start with a delay for now
Can confirm, also affects KDE Neon (User) with Plasma 6.3 and the exact same errors.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/krdp/-/merge_requests/92
Git commit ad393302a1e17889067fd139c28962b4b3791fc1 by David Edmundson. Committed on 17/02/2025 at 12:15. Pushed by davidedmundson into branch 'master'. Fix systemd startup plasma-workspace.target is explicitly marked as being before graphical-session.target. If krdpserver is set to come up after graphical-session.target this creates an issue that plasma-workspace can't be marked as up until this is up, and we can't start graphical-session yet. Anything wanted by plasma-workspaec needs to have dependencies set explicitly. Ammends: df4d9d4ea68cccb35da0a5b55a32652c58b54acd M +2 -1 server/app-org.kde.krdpserver.service.in https://invent.kde.org/plasma/krdp/-/commit/ad393302a1e17889067fd139c28962b4b3791fc1
Git commit 5dd6f7e3ee679f938cf46549087afb954b99c755 by Nate Graham. Committed on 05/03/2025 at 18:57. Pushed by ngraham into branch 'Plasma/6.3'. Fix systemd startup plasma-workspace.target is explicitly marked as being before graphical-session.target. If krdpserver is set to come up after graphical-session.target this creates an issue that plasma-workspace can't be marked as up until this is up, and we can't start graphical-session yet. Anything wanted by plasma-workspaec needs to have dependencies set explicitly. Ammends: df4d9d4ea68cccb35da0a5b55a32652c58b54acd (cherry picked from commit ad393302a1e17889067fd139c28962b4b3791fc1) Co-authored-by: David Edmundson <kde@davidedmundson.co.uk> M +2 -1 server/app-org.kde.krdpserver.service.in https://invent.kde.org/plasma/krdp/-/commit/5dd6f7e3ee679f938cf46549087afb954b99c755