-
Notifications
You must be signed in to change notification settings - Fork 15
How to start multiple instances of Apollo
To run multiple instances of Apollo, follow these steps:
-
Copy the configuration file:
Start by copying thesunshine.conf
file from your Apollo installation and name it something likesunshine_2.conf
. This file will be used for the second instance. -
Modify the configuration file:
To ensure the second instance runs in parallel with the original one, modify the following entries in thesunshine_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
-
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. -
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.
- Set the target to:
-
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.