Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do/Undo commands have permission issues before login #387

Open
JerAguilon opened this issue Sep 17, 2023 · 2 comments
Open

Do/Undo commands have permission issues before login #387

JerAguilon opened this issue Sep 17, 2023 · 2 comments

Comments

@JerAguilon
Copy link

JerAguilon commented Sep 17, 2023

Overall sunshine has been lovely. I do have one issue though:

I am trying to run a do and undo command that enables/disables my physical monitors when I start. It looks like this:

cmd /c ""C:\Program Files (x86)\MonitorProfileSwitcher_v0700\MonitorSwitcher.exe" "-load:C:\Program Files (x86)\MonitorProfileSwitcher_v0700\profiles\{Moonlight/PC}.xml""

I have given full permissions to the MonitorProfileSwitcher_v0700 recursively, and I am also running this as admin via the sunshine UI.

Surprisingly, I get permission errors that look like this:

[2023:09:11:15:24:39]: Info: Executing Do Cmd: [... cmd above]
[2023:09:11:15:24:39]: Error: Couldn't run [... cmd above]: System: Permission denied

Am I doing something terribly wrong here?

Full logs:

...
Virtual Desktop    : 3840x1080
[2023:09:17:13:40:01]: Info: Desktop resolution [1920x1080]
[2023:09:17:13:40:01]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:09:17:13:40:01]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.65625,0.335938]
Green Primary      : [0.297852,0.608398]
Blue Primary       : [0.147461,0.0605469]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.2962 nits
Max Luminance      : 301.849 nits
Max Full Luminance : 301.849 nits
[2023:09:17:13:40:01]: Info: SDR color coding [Rec. 709]
[2023:09:17:13:40:01]: Info: Color range: [JPEG]
[2023:09:17:13:40:01]: Info: 
[2023:09:17:13:40:01]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2023:09:17:13:40:01]: Info: 
[2023:09:17:13:40:01]: Info: Found encoder nvenc: [h264_nvenc, hevc_nvenc]
[2023:09:17:13:40:01]: Info: Executing Do Cmd: [cmd /c ""C:\Program Files (x86)\MonitorProfileSwitcher_v0700\MonitorSwitcher.exe" "-load:C:\Program Files (x86)\MonitorProfileSwitcher_v0700\profiles\Moonlight.xml""]
[2023:09:17:13:40:01]: Error: Couldn't run [cmd /c ""C:\Program Files (x86)\MonitorProfileSwitcher_v0700\MonitorSwitcher.exe" "-load:C:\Program Files (x86)\MonitorProfileSwitcher_v0700\profiles\Moonlight.xml""]: System: Permission denied
[2023:09:17:13:40:07]: Info: System tray created
[2023:09:17:13:40:17]: Info: Web UI: [127.0.0.1] -- not authorized
@Daviid-P
Copy link

@childhuhu
Copy link

meet the same error。it's only happened when I connect my host out of my home via VPN. when I connect in home, the issue is not appeared

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants