メインコンテンツへスキップ

Stream your Windows desktop elegantly with Sunshine

·404 文字·
目次
Remote Access - この記事は連載の一部です
パート 2: この記事

Before That
#

Suggestions for streaming client devices

  • The screen is not small
  • With keyboard and mouse

This will give you a better experience.

1. Install Sunshine
#

Server - Sunshine
#

Nothing to say, just download the latest program

Client - Moonlight
#

Nothing to say, just download the latest program

2. Virtual Display
#

If you don’t use a virtual display, your physical display will also be displayed synchronously when streaming, and you can only select the resolution and refresh rate based on the physical display.

Download VDD
#

Download latest VDD program for GitHub. I’d like to say that no HDR version is a better choice.

Configure VDD
#

Download the latest version from the releases page, and extract the contents to a folder. Copy option.txt to C:\IddSampleDriver\option.txt before installing the driver (important!). Right click and run the *.bat file as an Administrator to add the driver certificate as a trusted root certificate. Don’t install the inf. Open device manager, click on any device, then click on the “Action” menu and click “Add Legacy Hardware”. Select “Add hardware from a list (Advanced)” and then select Display adapters Click “Have Disk…” and click the “Browse…” button. Navigate to the extracted files and select the inf file. You are done! Go to display settings to customize the resolution of the additional displays. These displays show up in Sunshine, your Oculus or VR settings, and should be able to be streamed from. You can enable/disable the display adapter to toggle the monitors. Ps. Make sure that options.txt is accesible for the system at C:\IddSampleDriver\option.txt or the installation will fail.

3. Configure Sunshine
#

If you have already installed Sunshine, the Sunshine icon should already appear in the tray. Right-click the Sunshine icon, Open Sunshine(If this is your first installation, you may be asked to set a username and password.)。Click Configuration, fill Command Preparations with following cmds in order

config.do_cmd config.undo_cmd explanation
rundll32 user32.dll,LockWorkStation Lock your computer when exiting streaming
DisplaySwitch /external DisplaySwitch /internal When starting streaming, switch the display to the virtual display; when exiting streaming, switch back to the original display

click Save and Apply

4. Enjoy It!
#

Use Moonlight to connect to the Sunshine host (PIN pairing is required for the first connection) and enjoy it. If your network environment supports IPv6, you do not need to penetrate the intranet. With WakeOnLan, you can elegantly realize remote office and even games.

Remote Access - この記事は連載の一部です
パート 2: この記事