How is EmulationStation launched at boot?
-
I just made an installation with my new RPI4 and everything worked fine.
But I also did a few actions in order to administrate my RPI a bit ( including enabling SSH, installing desktop environments (including Pixel), installing an alternate shell).
But on reboot, EmulationStation isn't launched automatically anymore.
I have no problem to log into my CLI (it's still automatically done anyway) and I have no problem launching ES manually from the terminal. I also ensured auto-login on terminal boot-mode is enabled.So I'm trying to understand how the EmulationStation automatic launch is usually triggered.
Is there a service?
Regards,
$ uname -a Linux retropie 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l GNU/Linux
-
EmulationStation is launched from
/etc/profile.d/10-retropie.sh
. I guess changing your shell disabled loading that file on login. -
@mitu said in How is EmulationStation launched at boot?:
EmulationStation is launched from
/etc/profile.d/10-retropie.sh
. I guess changing your shell disabled loading that file on login.I don't get why but I don't have such file in this directory.
root@retropie:/etc/profile.d# ls -la total 40 drwxr-xr-x 2 root root 4096 déc. 15 19:16 . drwxr-xr-x 129 root root 12288 déc. 19 19:50 .. -rw-r--r-- 1 root root 95 avril 29 2019 at-dbus-fix.sh -rw-r--r-- 1 root root 664 mars 1 2019 bash_completion.sh -rw-r--r-- 1 root root 1042 oct. 27 2018 debian-mate-default-settings_gtk-accessibility.sh -rw-r--r-- 1 root root 324 févr. 20 2020 sshpwd.sh -rw-r--r-- 1 root root 1945 déc. 28 2018 vte-2.91.sh -rw-r--r-- 1 root root 450 juil. 22 2019 wifi-check.sh
To what shell is it supposed to be related? I ensured to set back the default shell to
/bin/bash
for my users (both pi and root). -
@vmonteco said in How is EmulationStation launched at boot?:
To what shell is it supposed to be related? I ensured to set back the default shell to /bin/bash for my users (both pi and root).
It's meant to be running in Bash - could work with other shells, but it's untested. If you don't have the file, then make sure you've configured autostart and enabled EmulationStation on boot.
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.