How I Got Sunshine/Moonlight Working On My Headless Windows 11 PC
This is less a tutorial and more a collection of notes on how I managed to get this working, mainly because I figure at some point I'm going to reinstall Windows and I'll need to know how I did things.
Unless I go ahead with my plan to install Linux, in which case I won't need these notes.
Anyway, let's dig in...
Step The First - Install Sunshine
Just... Follow the instructions there. Download the thing, install the thing, set a password, and get moving.
Step The Second - Install The Virtual Display Driver
Again, follow the instructions on the page.
One step they leave out is edit the option.txt to include the resolution/refresh rate you want. I suppose you could go so far as to remove all the ones you won't be using, but I didn't because maybe Windows will need to fall back to a different resolution because it's being weird. But make sure the one you want to use is included.
Step The Third - Install Moonlight Client
Source: https://moonlight-stream.org/
You guessed it - follow the directions.
That's it, you're done. Congrats.