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

    cant start retropie from osmc kodi interface

    Scheduled Pinned Locked Moved Help and Support
    kodiosmcstartup
    2 Posts 1 Posters 361 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.
    • U
      un4
      last edited by

      Hi guys,

      I have an issue that I cannot start retropie from kodi that runs in osmc no matter what I do. I have installed retropie according the intructions for osmc. However when I start Retrosmc Launcher my Kodi just restart, same happens if I do System.Excec("/home/osmc/RetroPie/scripts/retropie.sh") and also RunScript("/home/osmc/retropie.py") where I launch "/home/osmc/RetroPie/scripts/retropie.sh" with Popen.

      Everything works flawlessly if I start "/home/osmc/RetroPie/scripts/retropie.sh" through ssh session.

      What am I doing wrong, I am pulling my hair already.

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • U
        un4
        last edited by

        Just as I posted this I managed to figure it out. It seams that when kodi in osmc starts a script it starts it in root directory where it has no privilages. Adding "cd /home/osmc" at the beginning of "/home/osmc/RetroPie/scripts/retropie.sh" solved the problem!

        1 Reply Last reply Reply Quote 0
        • First post
          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.