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

            Bug ID: 433299
           Summary: [systemd] Applications meant to autostart do not start
                    after switching to systemd
           Product: systemsettings
           Version: 5.21.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_autostart
          Assignee: nicolas.fe...@gmx.de
          Reporter: szots...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

Created attachment 135944
  --> https://bugs.kde.org/attachment.cgi?id=135944&action=edit
Automatic startup screenshot

SUMMARY

I have some applications which I configured to automatically start during
login. The configuration has been done by the KCM, no manual work was involved
here.

Now, after switching to systemd many of these applications don't start anymore.

Interestingly, only applications which are manual types don't keep running. In
the screenshot they are "redshift", "xbindkeys", and "xhost-add-root".

In the logs I see that they started successfully but in the task manager they
don't appear anymore. Logs for "xbindkeys":

febr 20 09:09:35 openSUSE systemd[1499]: Starting xbindkeys...
febr 20 09:09:35 openSUSE systemd[1499]: app-xbindkeys-autostart.service:
Succeeded.
febr 20 09:09:35 openSUSE systemd[1499]: Started xbindkeys.

KeePass keeps running but xbindkeys don't for some reason. Their generated unit
files are very similar:

$> 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=-

$> cat /run/user/1000/systemd/generator.late/app-xbindkeys-autostart.service 
# Automatically generated by systemd-xdg-autostart-generator

[Unit]
Documentation=man:systemd-xdg-autostart-generator(8)
SourcePath=/home/aki/.config/autostart/xbindkeys.desktop
PartOf=graphical-session.target

Description=xbindkeys
After=graphical-session.target

[Service]
Type=exec
ExecStart=:/usr/bin/xbindkeys
Restart=no
TimeoutSec=5s
Slice=app.slice
WorkingDirectory=-


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210217
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.16-1-default
OS Type: 64-bit
Graphics Platform: X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to