Moonlight issues
-
- Board model: Raspberry Pi 5
- Recalbox version (build) : 9.2-PI5-1
I was trying to connect my Raspberry Pi with Moonlight to a Sunshine server I set over WAN. Following the wiki guide to setup Moonlight, I ran in the following issues:
- Launching
Moonlight.sh pair <hostname>
gives me aFailed to resolve hostname <hostname>.local
. I don't know why it tried to append.local
to my hostname - Manually launching
moonlight --pin 1337 pair <hostname>
causedQt Fatal: Cannot create window: no screens available
- after
export DISPLAY=0.0
, re-launching the command above causedQt Fatal: EGL library doesn't support emulator extensions
I'm lost and don't know what to do. Any advice?
-
Since you are mentioning WAN (and not LAN):
- AFAICS the current
Moonlight.sh
script will always assume that the machine is on the local network and append.local
to the host name. According to the Recalbox wiki, theMoonlight.sh
script needs to be modified to work with IPs instead of hostnames. - The Moonlight wiki contains an extensive guide for setting up game streaming over the internet.
- The guide recommends to pair the server while still being on the same network. If this is an option, it is probably easier than modifying
Moonlight.sh
. Once that's done, you can manually adjust the config files with the public IP of your server and set up the port forwarding if necessary.
- AFAICS the current
-