Apologies, I am lost!

Hey there all!

I’m trying to get Sunshine active on my linux desktop, so I can remote in and play games on my linux gaming laptop. Both are running LTS Pop OS. I can remote in, but any attempt to control the desktop with the laptop mouse and keyboard is met with no response.

In the logs, I can see the following errors:

[2025-01-31 16:35:06.195]: Warning: Unable to create virtual mouse: Permission denied
[2025-01-31 16:35:06.195]: Warning: Unable to create virtual keyboard: Permission denied
[2025-01-31 16:35:06.195]: Warning: Gamepad xone is disabled due to Permission denied
[2025-01-31 16:35:06.195]: Warning: Gamepad ds5 is disabled due to Permission denied
[2025-01-31 16:35:06.195]: Warning: Gamepad switch is disabled due to Permission denied
[2025-01-31 16:35:06.195]: Warning: No gamepad input is available

I’ve confirmed that the config file allows input from keyboard, mouse and gamepad from the client device.

I’m guessing I need to run sunshine under sudo, but I’ve been unsuccessful in doing so. I could also be incorrect!

Would anyone have any guidance they could provide? It would be appreciated!

Cheers!

If you would be so kind to let me solve your problem in a different way by asking a simple question:

Why not Steam Remote Play? Its built in to Steam and does a fairly decent job?

Also just to clarify because you did not post your pc specs, you do have an Nvidia Card for this, right? You are using the proprietary driver (or the open source one that isnt nouveau)?

1 Like

Apologies, I do not have an Nvidia card. I’ve got a 7700x cpu and a 6700xt gpu!

I do use Steam Link, but I was hoping to see if moonlight offered an experience with slightly less latency! Also, it seemed a fun experiment!

1 Like

Moonlight needs to be streamed from a “server” with Nvidia graphics because it will use NvEnc, a GPU accelerated encoder specifically found in Nvidia GPU.

1 Like

No kidding? That’s unfortunate, the documentation for Sunlight states that it can be used with Nvidia, AMD or Intel GPUs. Is that not accurate?

Its been a while since I last used Moonlight (circa 2018) so things might have moved forward. Back then I streamed my Win10 PC with a 970 to play The Division on my OnePlus phone. I still used a usb wired keyboard and mouse. Latency was sort of still ok because I cheated with the controls and didn’t use bluetooth.

Aye, no worries! I appreciate it. I’m guessing I will need to try and run it as sudo, I’m going to give that a shot. Perhaps it was a mistake to get it as a flatpak, it’s made finding the command to run it a pain.

But not to worry, I appreciate the assistance!

2 Likes