-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Describe the Bug
Using SDDM/KDE/X11 the user service enabled with systemctl enable --user sunshine.service does not start after login in SDDM.
The reason for this seem to be the (continued) lack of support for the graphical-session.target in SDDM (sddm/sddm#1044). I believe the target description in systemd.special(7) is more of desired state and less the reality.
Several sources on the internet (having similar problems with their service files including WantedBy=graphical-session.target) suggest to use default.target, but I guess this is not a viable solution for Sunshine.
Expected Behavior
Service starts after user login in SDDM
Additional Context
systemctl list-units --type=target --all --user in a KDE session gives:
UNIT LOAD ACTIVE SUB DESCRIPTION
basic.target loaded active active Basic System
● blockdev@dev-nvme0n1p2.target not-found inactive dead blockdev@dev-nvme0n1p2.target
● blockdev@dev-nvme0n1p3.target not-found inactive dead blockdev@dev-nvme0n1p3.target
● blockdev@dev-nvme0n1p4.target not-found inactive dead blockdev@dev-nvme0n1p4.target
default.target loaded active active Main User Target
graphical-session.target loaded inactive dead Current graphical user session
paths.target loaded active active Paths
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
Sunshine Host Operating System and Version
Arch Linux
Architecture
x86_64
Sunshine Version
0.13.0
GPU Type
Nvidia
GPU Model
GeForce RTX 2070
GPU Driver/Mesa Version
510.54
Capture Method (Linux Only)
X11
Reactions are currently unavailable