Retropie autolaunch emulationstation

Hey I want emulation station to launch automatically.

  1. I downloaded retropie from here
  2. I used raspberry pi imager to flash it onto an 16gb sd. I used custom setting because I wanted to set up ssh and wifi. I named the user retro. i.e. the home folder is called “retro”.
  3. I booted it, and it booted into the terminal, as if it were headless.
  4. I scp’d a rom into /home/retro/RetroPie/roms/gb/
  5. I then learned that emulation station looks for games under home/pi/RetroPie, so I made a pointer. sudo ln -s /home/retro/RetroPie /home/pi/RetroPie
  6. That allowed me to launch emulationstation manually from the console.

Now I want emulation station to run at boot.
Internet tells me that retropie has a special autostart folder.
Mine looks good.
cat /opt/retropie/configs/all/autostart.sh → emulationstation #auto

Still no dice. What else should I try?

2 Likes

Hey there, @Pixmusix,

Quick thought, I know you have linked the home directories for the pi and retro, but does user pi have permissions configured to access retro’s files?

Because if emulation station automatically looks for files in the pi directory, it’s possible it just doesn’t have permissions to access anything of retro’s. In that case, it might be a simple task of chmoding the folder so that anyone can rwx .

Or, probably better in a system admin sense, putting both pi and retro into a group and giving that group rwx permissions.

1 Like

I’ll try it.

1 Like

Don’t worry, I’ll also keep looking for alternate solutions, but Linux permissions seem to a problem that everyone forgets about until the very last.