• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Starting game remotely / via command line.

Scheduled Pinned Locked Moved Help and Support
command-linestart gameservice
2 Posts 2 Posters 677 Views
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.
  • R
    raccoon42
    last edited by 26 Sept 2019, 17:11

    Hello everyone!
    I'm currently in a project in which i must build an Arcade and (to make a long story short), i also must be able to start games using some kind of service.

    What I've tried so far was: Creating a web-service in Python that runs the following command:

    /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ snes "/path/to/rom.zip"
    

    This works if i'm using the command in the Raspberry's terminal. However, when the web-service (that is running as a Linux service) uses the same command, it doesn't return any errors (return code zero), but the game does not appear in the screen.

    My question is: Is there a way to make it work? Make a service run the command and the game starts to run as a foreground process.

    I'm currently using a Raspberry Pi Zero W and the latest version of RetroPie.

    Best regards.

    1 Reply Last reply Reply Quote 0
    • C
      Clyde
      last edited by 26 Sept 2019, 18:02

      See here: https://askubuntu.com/questions/47642/how-to-start-a-gui-software-on-a-remote-linux-pc-via-ssh

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

        This community forum collects and processes your personal information.
        consent.not_received