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

    How is EmulationStation launched at boot?

    Scheduled Pinned Locked Moved Help and Support
    rpi4bootemulationstaton
    4 Posts 2 Posters 1.1k 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.
    • V
      vmonteco
      last edited by

      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
      
      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        EmulationStation is launched from /etc/profile.d/10-retropie.sh. I guess changing your shell disabled loading that file on login.

        V 1 Reply Last reply Reply Quote 0
        • V
          vmonteco @mitu
          last edited by

          @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).

          mituM 1 Reply Last reply Reply Quote -1
          • mituM
            mitu Global Moderator @vmonteco
            last edited by

            @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.

            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.