Credit: https://moonlight-stream.org, https://github.com/LizardByte
Sunshine and Moonlight are open source server and client programs that allow desktop sharing and game streaming across a network. Originally, both were a reimplementation of an Nvidia protocol, but in their current state, they don’t require any Nvidia hardware or software to run. Having said that, they can take advantage of GPU hardware for video encoding, if you have it.
You can also share games and desktops between different platforms and operating systems. The platform support for the client side app is even more extensive and includes the Raspberry Pi along with mobile and smart TV-type devices, as well as regular Linux, Windows and Mac computers. What Moonlight and Sunshine offer together is completely free, highly performant and extremely easy to set up and use.
Whether you are gaming or running desktop apps, this is how it works: as you sit using Moonlight on the client computer, the input from your keyboard, mouse and gamepad are sent through the network to the computer running Sunshine. Sunshine uses extremely efficient audio and graphics compression codecs to send the screen and the audio of the computer back to the Moonlight program, so that you feel as though you are running the software locally on the client computer.
How you connect everything is up to you. For example, you could run in a virtual machine and run on a smart TV to give you a Linux desktop on your TV. You could take your