Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Moonlight issues

    Emulator Arcade/PC/Console
    moonlight
    2
    2
    535
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GoldenPalazzo
      GoldenPalazzo last edited by

      • 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 a Failed 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> caused Qt Fatal: Cannot create window: no screens available
      • after export DISPLAY=0.0, re-launching the command above caused Qt Fatal: EGL library doesn't support emulator extensions

      I'm lost and don't know what to do. Any advice?

      1 Reply Last reply Reply Quote 0
      • porst17
        porst17 last edited by

        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, the Moonlight.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.
        1 Reply Last reply Reply Quote 0
        • Locked by  admin admin 
        • First post
          Last post

        Want to support us ?

        87
        Online

        98.7k
        Users

        28.1k
        Topics

        187.0k
        Posts

        Copyright © 2021 recalbox.com