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.


I can start it manually on game mode if I restart it systemctl --user restart app-Sunshine@autostart.service

Desktop mode works fine and once I'm in desktop Sunshine starts automatically and I can connect to it.
Was this page helpful?