Sunshine Autostart not persisting between reboots
Hello,
I'm trying to get sunshine to automatically start on reboot via the ujust setup-sunshine script.
I'm pretty sure the autostart functionality is broken. After reboot the user service disappears and sunshine does not restart.
Anyone know why systemd might not see the
sunshine.service
user service after reboot? The symlink is here: /home/bazzite/.config/systemd/user/xdg-desktop-autostart.target.wants/sunshine.service
6 Replies
Well, the service is missing when I
systemctl --user list-units
. However it does exit when I do systemctl status sunshine
but it's inactive:
Maybe it's something to do with the xdg-desktop-autostart.target
not starting the service...
I made a custom user service and changed WantedBy to graphical-session.target
Seems to start fine now.
Read-only service that's not starting after reboot:
New user service that restarts properly:
Could gnome not be triggering the autostart target properly?Try run
ujust setup-sunshine
again after rebooting. Then select the option "toggle autostart"
Nevermind, looks like you came right on your own. Saw the first message and didn't see your replies afterwards π«’you need to find out why sunshine is dying on you
I had to add Sunshine to autostart in Tweaks
The service just didn't run for me
@HikariKnight It's wasn't dying, there we no service logs. I think it was not even getting started.
Must be though since it is enabled π€