| Summary: | [systemd] Applications meant to autostart do not start after switching to systemd | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Szőts Ákos <akos+kde> |
| Component: | kcm_autostart | Assignee: | Nicolas Fella <nicolas.fella> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | kde, plasma-bugs-null, thesourcehim |
| Priority: | NOR | ||
| Version First Reported In: | 5.21.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Szőts Ákos
2021-02-20 07:58:32 UTC
Generated service file: $> cat /run/user/1000/systemd/generator.late/app-keepass-autostart.service # Automatically generated by systemd-xdg-autostart-generator [Unit] Documentation=man:systemd-xdg-autostart-generator(8) SourcePath=/home/aki/.config/autostart/keepass.desktop PartOf=graphical-session.target Description=KeePass After=graphical-session.target [Service] Type=exec ExecStart=:/usr/bin/keepass Restart=no TimeoutSec=5s Slice=app.slice WorkingDirectory=- After further debugging it seems that the error messages are not related to the startup functionality (and most probably are errors in systemd-xdg-autostart-generator and not in KDE). To have a more clear picture, I'll clarify this bug report in a new one with further findings. *** Bug 436344 has been marked as a duplicate of this bug. *** I checked the status of generated autostart files (systemctl --user status) and it seems they do start but exit shortly after. For example, yandex-disk even reports it successfully started the daemon, skypeforlinux is also started. But shortly after all related processes just exit (killed?). systemctl --user status app-Yandex\\x20Disk@autostart.service ○ app-Yandex\x20Disk@autostart.service - Yandex Disk Loaded: loaded (/home/thesource/.config/autostart/Yandex Disk.desktop; generated) Active: inactive (dead) since Wed 2021-05-05 13:15:10 MSK; 42s ago Docs: man:systemd-xdg-autostart-generator(8) Process: 4275 ExecStart=/usr/bin/yandex-disk start (code=exited, status=0/SUCCESS) Main PID: 4275 (code=exited, status=0/SUCCESS) CPU: 286ms systemd[3844]: Starting Yandex Disk... MAXN56VB systemd[3844]: Started Yandex Disk. MAXN56VB yandex-disk[4275]: Starting daemon...Done MAXN56VB systemd[3844]: app-Yandex\x20Disk@autostart.service: Deactivated successfully. systemctl --user status app-skypeforlinux@autostart.service ○ app-skypeforlinux@autostart.service - Skype for Linux Loaded: loaded (/home/thesource/.config/autostart/skypeforlinux.desktop; generated) Active: inactive (dead) since Wed 2021-05-05 13:15:09 MSK; 1min 46s ago Docs: man:systemd-xdg-autostart-generator(8) Process: 4323 ExecStart=/bin/sh /usr/bin/skypeforlinux (code=exited, status=0/SUCCESS) Main PID: 4323 (code=exited, status=0/SUCCESS) CPU: 26ms systemd[3844]: Starting Skype for Linux... systemd[3844]: app-skypeforlinux@autostart.service: Deactivated successfully. systemd[3844]: Started Skype for Linux. Should be fixed in systemd 248 with https://github.com/systemd/systemd/pull/18782/files |