Ursprünglich wollte ich einen Systemd-User-Service erstellen mit
[Install]
WantedBy=graphical-session.target
Allerdings ist bei meinem aktuell genutzten Userprofil das entsprechende Target inactive/dead und ich finde einfach nicht heraus, wieso das so ist.
Aktueller User:
systemctl --user list-units --type=target -all
UNIT LOAD ACTIVE SUB DESCRIPTION
basic.target loaded active active Basic System
default.target loaded active active Main User Target
graphical-session-pre.target loaded inactive dead Session services which should run early before the graphical session is brought up
graphical-session.target loaded inactive dead Current graphical user session
paths.target loaded active active Paths
plasma-core.target loaded inactive dead KDE Plasma Workspace Core
shutdown.target loaded inactive dead Shutdown
sockets.target loaded active active Sockets
sound.target loaded inactive dead Sound Card
timers.target loaded active active Timers
Testweise mal einen neuen User erstellt, wo das gewünschte Target automatisch aktiv ist und per Default auch noch einige weitere Targets (plasma-workspace*,xdg-desktop-autostart) vorhanden/aktiv sind:
systemctl --user list-units --type=target --all ✔
UNIT LOAD ACTIVE SUB DESCRIPTION
basic.target loaded active active Basic System
default.target loaded active active Main User Target
graphical-session-pre.target loaded active active Session services which should run early before the graphical session is brought up
graphical-session.target loaded active active Current graphical user session
paths.target loaded active active Paths
plasma-core.target loaded active active KDE Plasma Workspace Core
plasma-workspace-x11.target loaded active active plasma-workspace-x11.target
plasma-workspace.target loaded active active KDE Plasma Workspace
shutdown.target loaded inactive dead Shutdown
sockets.target loaded active active Sockets
sound.target loaded inactive dead Sound Card
timers.target loaded active active Timers
xdg-desktop-autostart.target loaded active active Startup of XDG autostart applications
~/.config/systemd
ist leer. Ich habe die vorhanden Konfigurationsdateien vom neuen Testuser gegen meinen als Diff laufen lassen, um mögliche Unterschiede herauszufinden. Ich konnte aber nichts Relevantes finden.
Wo könnten noch weitere Stellen sein, wo auf diese Konfiguration Einfluss genommen wird? Wie könnte ich das weiter eingrenzen?