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

    Autostart Kodi on Retropie

    Scheduled Pinned Locked Moved Help and Support
    15 Posts 2 Posters 6.8k 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.
    • RascasR
      Rascas @soggypete
      last edited by Rascas

      @sphirst /etc/profile.d/10-emulationstation.sh is only available if you have Emulation Station autostart enabled. /home/pi/.kodi is a hidden folder, but is certainly there if you have Kodi installed. The kodi folder path can be different depending on your OS but it should be in your home folder, ~/.kodi.

      soggypeteS 1 Reply Last reply Reply Quote 0
      • soggypeteS
        soggypete @Rascas
        last edited by

        @Rascas thanks for your patience - I've reactivated emulationstation on startup and on Windows 10 I've gone to Network - > RetroPie, and I can only see "bios" "config" "roms" and "splashscreens"

        1 Reply Last reply Reply Quote 0
        • RascasR
          Rascas
          last edited by Rascas

          Access via SFTP or via terminal, either directly or via SSH.
          You can edit the file in terminal with something like:
          sudo nano /etc/profile.d/10-emulationstation.sh
          Edit the file and then do CTRL+X to save and exit.

          1 Reply Last reply Reply Quote 0
          • soggypeteS
            soggypete
            last edited by

            I feel like I'm so close. I downloaded filezilla, found 10-emulationstation.sh and edited the file as you said then it told me I didn't have permission and the file couldn't be transfered. Any thoughts?

            RascasR 1 Reply Last reply Reply Quote 0
            • RascasR
              Rascas @soggypete
              last edited by

              @sphirst Edit the file via terminal.

              1 Reply Last reply Reply Quote 0
              • soggypeteS
                soggypete
                last edited by

                Again, just as I thought I was on to gold - error writing ..... permission denied

                1 Reply Last reply Reply Quote 0
                • RascasR
                  Rascas
                  last edited by

                  Did it work via terminal with the command I said or not ?

                  1 Reply Last reply Reply Quote 0
                  • soggypeteS
                    soggypete
                    last edited by

                    I'm using putty. Typed edit /etc/profile.d/10-emulationstation.sh and got the file up, put your added line of code in, saved it, permission denied

                    RascasR 1 Reply Last reply Reply Quote 0
                    • RascasR
                      Rascas @soggypete
                      last edited by

                      @sphirst Just run the command I said with sudo, it will work:
                      sudo nano /etc/profile.d/10-emulationstation.sh

                      1 Reply Last reply Reply Quote 0
                      • soggypeteS
                        soggypete
                        last edited by

                        duh! Totally forgot to put sudo nano and was just putting "sudo" to no avail. I tried the code you gave me and it didn't seem to work, so I tried:

                        " # launch kodi then emulationstation (if we are on the correct tty)
                        if [ "tty" = "/dev/tty1" ]; then
                        kodi-standalone
                        emulationstation
                        fi "

                        and now it seems to work. Thanks a million for your patience with someone who is a little new to SSH and what not.

                        Can't quite figure out part 3 at the moment - I've found the kodi file by using FileZilla on my new pi but for some reason I can't connect to the old pi using pi / raspberry

                        1 Reply Last reply Reply Quote 0
                        • RascasR
                          Rascas
                          last edited by

                          It is pretty much the same thing.
                          You have to find out if your old OS/installation has openssh server installed. If yes, use the correspondig credentials to login. Check the old OS documentation, there are many ways to do that.

                          1 Reply Last reply Reply Quote 0
                          • soggypeteS
                            soggypete
                            last edited by

                            Thanks again for all your help Rascas! This little victory has created quite a lot of happiness!

                            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.