[KRdp] [Bug 500017] New: krdpserver fails to start

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Feb 13 18:40:35 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=500017

            Bug ID: 500017
           Summary: krdpserver fails to start
    Classification: Plasma
           Product: KRdp
           Version: 6.3.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: aeon at robotbacon.net
                CC: ahiemstra at heimr.nl
  Target Milestone: ---

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 at 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 at 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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list