Sunshine not starting in game mode

I'm having an issue with starting Sunshine in game mode. I have used ujust setup-sunshine and Enabled the autostart. I can see this in the logs:
Jan 31 23:49:35 bazzite systemd[2733]: sunshine.service: Scheduled restart job, restart counter is at 4.
Jan 31 23:49:35 bazzite systemd[2733]: Starting sunshine.service - Self-hosted game stream host for Moonlight...
Jan 31 23:49:40 bazzite systemd[2733]: Started sunshine.service - Self-hosted game stream host for Moonlight.
Jan 31 23:49:40 bazzite (AppImage)[5184]: sunshine.service: Unable to locate executable '/tmp/.mount_sunshiMD2ReK/sunshine.AppImage': No such file or directory
Jan 31 23:49:40 bazzite (AppImage)[5184]: sunshine.service: Failed at step EXEC spawning /tmp/.mount_sunshiMD2ReK/sunshine.AppImage: No such file or directory
Jan 31 23:49:40 bazzite systemd[2733]: sunshine.service: Main process exited, code=exited, status=203/EXEC
Jan 31 23:49:40 bazzite systemd[2733]: sunshine.service: Failed with result 'exit-code'.
Jan 31 23:49:45 bazzite systemd[2733]: sunshine.service: Scheduled restart job, restart counter is at 5.
Jan 31 23:49:45 bazzite systemd[2733]: sunshine.service: Start request repeated too quickly.
Jan 31 23:49:45 bazzite systemd[2733]: sunshine.service: Failed with result 'exit-code'.
Jan 31 23:49:45 bazzite systemd[2733]: Failed to start sunshine.service - Self-hosted game stream host for Moonlight.
Jan 31 23:49:35 bazzite systemd[2733]: sunshine.service: Scheduled restart job, restart counter is at 4.
Jan 31 23:49:35 bazzite systemd[2733]: Starting sunshine.service - Self-hosted game stream host for Moonlight...
Jan 31 23:49:40 bazzite systemd[2733]: Started sunshine.service - Self-hosted game stream host for Moonlight.
Jan 31 23:49:40 bazzite (AppImage)[5184]: sunshine.service: Unable to locate executable '/tmp/.mount_sunshiMD2ReK/sunshine.AppImage': No such file or directory
Jan 31 23:49:40 bazzite (AppImage)[5184]: sunshine.service: Failed at step EXEC spawning /tmp/.mount_sunshiMD2ReK/sunshine.AppImage: No such file or directory
Jan 31 23:49:40 bazzite systemd[2733]: sunshine.service: Main process exited, code=exited, status=203/EXEC
Jan 31 23:49:40 bazzite systemd[2733]: sunshine.service: Failed with result 'exit-code'.
Jan 31 23:49:45 bazzite systemd[2733]: sunshine.service: Scheduled restart job, restart counter is at 5.
Jan 31 23:49:45 bazzite systemd[2733]: sunshine.service: Start request repeated too quickly.
Jan 31 23:49:45 bazzite systemd[2733]: sunshine.service: Failed with result 'exit-code'.
Jan 31 23:49:45 bazzite systemd[2733]: Failed to start sunshine.service - Self-hosted game stream host for Moonlight.
I can start it manually on game mode if I restart it systemctl --user restart [email protected] Desktop mode works fine and once I'm in desktop Sunshine starts automatically and I can connect to it.
1 Reply
mindxpert
mindxpertOP2mo ago
I managed to fix it. My /home/bazzite/.config/systemd/user/sunshine.service file had a mention to that AppImage. A few months ago I had installed Sunshine using AppImage as I was not aware of the ujust. I thought I had fully replaced it with the ujust version couple months ago but these might have been some leftovers.

Did you find this page helpful?