Hi all,
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.
Cheers
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.
Hi,
The commands I used are the ones configured in the terminal, that’s why I didn’t post them here. Regardless, here are the commands:
ujust setup-sunshine
ujust setup-sunshine autostart
systemctl --user enable sunshine.service
systemctl --user status sunshine.service
I setup sunshine by running the first command and then choose option enable.
output of rpm-ostree status
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-nvidia-open:stable
Digest: sha256:cdca43dbaa8147114289e960e82bd989c0572ad9c2630ef129c21f0bb9de79d2
Version: 42.20250621 (2025-06-21T21:02:06Z)
LayeredPackages: containerd.io coolercontrol dnf-plugins-core docker-buildx-plugin docker-ce docker-ce-cli docker-compose-plugin firejail
liquidctl sway virt-manager virt-viewer
Initramfs: regenerate
ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-nvidia-open:41.20250215
Digest: sha256:1c2b1850d25c975efbd20ea52e186264d1aca77126043e6101dae36aa9726a64
Version: 41.20250215 (2025-02-15T18:13:36Z)
LayeredPackages: containerd.io coolercontrol dnf-plugins-core docker-buildx-plugin docker-ce docker-ce-cli docker-compose-plugin firejail
liquidctl sway virt-manager virt-viewer
Initramfs: regenerate
I also tried to create a custom service, but it didn’t work, so I deleted it.
Cheers
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.
Hi,
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!