You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is something that has been requested over and over again:
Can I let different users share a single machine for multiple gaming sessions at the same time?
Bare in mind that Moonlight does support already multiple players sharing one gaming backend (Sunshine) for Co-Op or similar games. In order to use that change the channels param in the Sunshine conf file.
There are multiple issues that needs to be solved in order to achieve this:
Right now Moonlight doesn't support connecting to different ports. I tried using nginx for this so that we can reverse proxy in front but since it's not HTTP but on a lower stack: TCP/UDP there's no easy way to dispatch based on the domain name (see the section below)
One way around it for now is to manually re-compile the client with a different set of hardcoded ports.
Having separate X11 display per remote player, this probably can be achieved using Xorg multiseat but needs testing (Thanks to @diadatp for pointing it out!)
Separate uinput devices so that keyboard/mouse/controller don't clash with each other.
Nginx reverse proxy Sunshine
I was able to passthru from one host to one other host so that Moonlight was pointing to x.x.x.x and Nginx was redirecting the connection to y.y.y.y
This works fine, but I wasn't able to dispatch based on the domain name or even just to load balance between 2 or more backends).
[1] Here's my nginx.conf file
events {}
stream {
server {
listen47998 udp;
listen47999 udp;
listen48000 udp;
listen48002 udp;
listen48010 udp;
listen47984;
listen47989;
listen48010;
# This can possibly be bound to an upstream so that you can load balance between backends# I couldn't make it work with the $server_port variable# But probably some wizard canproxy_pass y.y.y.y:$server_port;
}
This is something that has been requested over and over again:
Bare in mind that Moonlight does support already multiple players sharing one gaming backend (Sunshine) for Co-Op or similar games. In order to use that change the channels param in the Sunshine conf file.
There are multiple issues that needs to be solved in order to achieve this:
nginx
for this so that we can reverse proxy in front but since it's not HTTP but on a lower stack: TCP/UDP there's no easy way to dispatch based on the domain name (see the section below)Nginx reverse proxy Sunshine
I was able to passthru from one host to one other host so that Moonlight was pointing to x.x.x.x and Nginx was redirecting the connection to y.y.y.y
This works fine, but I wasn't able to dispatch based on the domain name or even just to load balance between 2 or more backends).
[1] Here's my
nginx.conf
fileAnd I started it using
The text was updated successfully, but these errors were encountered: