Difficulties with using Sunshine on Zorin OS

Hi there, everyone. I have been using Moonlight and Sunshine on my previous devices for a while, but now that I've been using Zorin, I've run into some issues. My Zorin laptop is running Sunshine, but every time I try to use it, an error pops up that says:

So, I ran sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))

This came back with an error:

I tried running this command:

This didn't do anything either. The computer running Moonlight still shows my Host linux computer with an error sign. Any advice?

The error you are seeing when running this command relates to readlink not being provided any arguments, which translates to "it can't find the executable". Based on that, and the screenshot from Brad, I'd say you installed this as Flatpak. Can you confirm this is the case?

If yes, try again with:

sudo setcap cap_sys_admin+p $(readlink -f dev.lizardbyte.sunshine)

Although I don't think this makes much sense. I'd recommend following up with Brad on this, as he'd know (assuming he's the developer on the project) whether this is the correct path or not.


Personally, I'd recommend installing using the Debian native package directly. If you want to try this route, make sure to uninstall the Flatpak version before. You don't technically need to do this, but it's better not to have duplicates.

You can download from their releases page:

To install that, run:

sudo apt install ~/Downloads/sunshine-ubuntu-22.04-amd64.deb

Then, you can run that command again:

sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))

And try again.

1 Like