I’m creating this because I didn’t find an answer to my problem.
Right now, I’m using sunshine + moonlight, and everything works perfectly except for the autostart feature.
I already tried to set it up from the ujust command line, but it never actually starts. I also tried to create a service to autostart on startup, but it also failed.
The weirdest part of all this is that my setup is currently using autologin, and from what I read online, most issues happen when the user has to log in, which isn’t my case.
Which exact ujust command did you use, and how did you setup the service? Please type it u(copy-paste) exactly as what you used to give usable info here.
For easier reading use the </> button.
I had the same issue with sunshine not starting up on Bazzite GNOME desktop images. Made a github issue here https://github.com/ublue-os/bazzite/issues/2044. My work around was to open “Ignition” and add Sunshine as a startup item there. Apparently changing the [Install] section in the service to WantedBy=default.target also works.
sorry for the late response, but I only managed to test this today.
Both approaches worked for me, although I wasn’t where the service file was stored (it has been a while since last time I edit it) so I run the following and edit the service:
systemctl --user edit sunshine.service
edit the file with the Wanted like you mentioned
systemctl --user restart sunshine.service
After reboot, it worked like a charm!
Thank you for the help
Cheers!