Skip to content

How to start multiple instances of Apollo

Yukino Song edited this page Sep 12, 2024 · 1 revision

To run multiple instances of Apollo, follow these steps:

  1. Copy the configuration file:
    Start by copying the sunshine.conf file from your Apollo installation and name it something like sunshine_2.conf. This file will be used for the second instance.

  2. Modify the configuration file:
    To ensure the second instance runs in parallel with the original one, modify the following entries in the sunshine_2.conf file:

    # Set a different port to avoid conflicts
    port = 48989
    # Customize the name of the second instance
    sunshine_name = Apollo2
    # Use a separate state file to distinguish between instances
    file_state = apollo_state2.json
    # Change the log path to prevent conflicts
    log_path = apollo2.log
  3. Start the second Apollo instance:
    Once the configuration file is ready, start the second Apollo instance by running:
    sunshine.exe path\to\sunshine_2.conf
    Make sure you run it with SYSTEM privilege to ensure full functionality.

  4. Using a PowerShell script:
    You can simplify this process with a PowerShell script. The start-apollo.ps1 script helps automate launching the instance.
    To create a shortcut for this script:

    • Set the target to:
      powershell -ExecutionPolicy Bypass -File "path\to\start-apollo.ps1"
    • Execute the script with Administrator privilege.

    Note: Starting the instance with only Administrator privilege is sufficient, but you won’t be able to access UAC dialogs or enter the lock screen password through streaming.

  5. Start additional instances:
    If needed, you can repeat the above steps to create more Apollo instances. This will allow you to connect multiple Artemis/Moonlight clients simultaneously and manage several virtual monitors.

Clone this wiki locally