Autostart to ES
-
Hi everyone,
I'm unable to have my Raspberry Pi to boot into emulationstation. The system will boot with the autologin working correctly, but emulationtation won't automatically start. Everything works fine if I manually run the emulationstation command from the console.
Those are the system specs:
Pi Model: Raspberry Pi 5 4GB
Power Supply: Official Raspberry Pi 5 Power Supply (27W 5V/5A)
RetroPie Version: 4.8.6
Built From: Built using the retropie-setup.sh script on top of the Raspbian 64-bit OS Lite (Bookworm)
USB Devices connected: XBox One S Controller
Controller used: XBox One S
Guide used: https://retropie.org.uk/docs/Manual-Installation/Detailed installation process (just omitting irrelevant details with the ...):
1) Install OS Lite (64-bit) 2) - sudo apt-get install pulseaudio - sudo apt-get install pavucontrol paprefs 3) - sudo raspi-config - System Options > Wireless LAN > ... - System Options > Audio > 0 - System Options > Boot / Auto Login > B2 Console Autologin - Localisation Options > L1 Locale > ... - Localisation Options > L2 Timezone > ... - Localisation Options > L3 Keyboard > ... - Localisation Options > L4 WLAN Country > ... Reboot 4) sudo apt update && sudo apt upgrade 5) - sudo update-locale LC_ALL="en_GB.UTF-8" - sudo update-locale LANGUAGE="en_US:en" 6) Reboot 7) - sudo apt install git lsb-release - git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git - cd RetroPie-Setup - chmod +x retropie_setup.sh - sudo ./retropie_setup.sh 8) - Manage Packages > core > Install all core packages - Manage Packages > main > lr-snes9x > Install from source - Manage Packages > depends > sdl2 > Install from source - Configuration / tools > samba > Install Retropie Samba shares - Configuration / tools > autostart > Autostart Emulation Station after login
Thank you in advance.
-
@desk87 said in Autostart to ES:
- System Options > Boot / Auto Login > B2 Console Autologin
All the times i did a manual install, included RPi5, i didn't have to set console to auto login. Try to revert this and set again ES to start at boot and restart, i hope it works.
-
@windg That wasn't the issue apparently.
However, I think I found the issue. The autostart.sh script is incorrectly detecting the Pi as using the x11 platform instead of raspbian. By editing the code manually and forcing the correct branch to be found I was able to have the pi start emulationstation automatically.
-
-
@desk87 said in Autostart to ES:
By editing the code manually and forcing the correct branch to be found I was able to have the pi start emulationstation automatically.
Do you recall what was modified?
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.