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

    Kiosk mode not surviving reboot

    Scheduled Pinned Locked Moved Help and Support
    kiosk kids mode
    39 Posts 13 Posters 9.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.
    • Z
      Zigurana
      last edited by Zigurana

      Regarding the UI mode not sticking, can you

      1. set the UI mode to kiosk
      2. exit emulationstation with a keyboard by pressing F4
      3. check the content of the emulationstation settings file (/home/pi/.emulationstation/es_settings.cfg), especially the lines about UIModes?

      If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

      C 1 Reply Last reply Reply Quote 0
      • pjftP
        pjft
        last edited by

        I think the file name is named "es_settings.cfg".

        1 Reply Last reply Reply Quote 1
        • C
          Cjax08 @Zigurana
          last edited by

          @zigurana I know I can comment on this. I am having the same problem with the newest version of the master branch. If I set kiosk mode from the menu it will change to kiosk until I do a reboot, then it will be in Full mode. If I close ES and change the es_settings.cfg to “Kiosk” and save, then it will load up to kiosk and stay in kiosk after many reboots. However, whenever I change the mode back to Full from the menu then the cycle starts all over with all changes being temporary until a reboot.

          1 Reply Last reply Reply Quote 0
          • S
            Srdrgz
            last edited by

            Changing the setting to "kiosk" in es_settings.cfg worked for me. I also removed the retropie menu from where the emulators are selected, to prevent any other accidental changes.

            edmaul69E 1 Reply Last reply Reply Quote 0
            • edmaul69E
              edmaul69 @Srdrgz
              last edited by

              @srdrgz before getting rid of retropie menu, did you go into runcommand and disable joystick or disable it competely so someone cant change emulator and video settings?

              S 1 Reply Last reply Reply Quote 1
              • S
                Srdrgz @edmaul69
                last edited by Srdrgz

                @edmaul69
                Yes, I disabled that too. This retropie was a gift to my brother. So, tried to make it as streamlined as possible. I think the only other change I made was that i remapped the general input of mame to not allow access to the mame settings, within a game, with a gamepad. It can now only be accessed by pressing tab on a keyboard.

                Come to think of it, is there a way to disable access retroarch settings, while in a game? Currently, if I press select and x on my controller it will bring up the retroarch settings menu. I'd like to disable that menu without remapping any gamepad buttons.

                Edit: I think I found the answer to my question in the retroarch configuration wiki. I think if I comment out the line of code that toggles the RGUI then that should. However, I can't test it because I already gave it to my brother.

                J 1 Reply Last reply Reply Quote 0
                • pjftP
                  pjft
                  last edited by pjft

                  How are you exiting/resetting RetroPie?

                  EDIT: Also, when you set "Kiosk mode", can you then open a SSH session (or exit ES) and look into es_log.txt, see if there's a line stating "Setting UI mode to <mode you selected>". And in that thread, check the contents of the settings file after changing it in ES and exiting ES.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jcook84 @pjft
                    last edited by jcook84

                    @pjft
                    I have the same problem. Both the standard menu shutdown and a power button script shutdown have the same result. (Edit: ES-Dev)

                    edmaul69E 1 Reply Last reply Reply Quote 0
                    • edmaul69E
                      edmaul69 @jcook84
                      last edited by

                      @jcook84 if you change the emulationstation theme do you lose that on reboot as well? If so you might need to fix the permissions for the emulationstation folder. I had this issue.

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jcook84 @edmaul69
                        last edited by

                        @edmaul69
                        Theme selection is persistent. Still no luck with with having Kiosk setting hold through the reboot. Not a huge deal because it will remain if I edit the es_settings.cfg; Ideally, I'll be the only one in the house using full UI anyway

                        1 Reply Last reply Reply Quote 0
                        • J
                          jcook84 @Srdrgz
                          last edited by

                          @srdrgz
                          I typically edit the unwanted Retroarch hotkey combos out of the controller configs in /retroarch-joypads/.

                          edmaul69E 1 Reply Last reply Reply Quote 0
                          • edmaul69E
                            edmaul69 @jcook84
                            last edited by edmaul69

                            @jcook84 i do this as well. I also add disc eject, disc next and disc prev to the individual controller configs for famicom disc system and psx.

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              jcook84 @edmaul69
                              last edited by jcook84

                              @edmaul69
                              Good idea!

                              So I edited es_settings.cfg to my liking (kiosk UI, snes-mini theme, ect...) then I used "chattr" to lock it ALL down. I can switch to full UI and do whatever I need to do, but after a restart it reverts back to kiosk.
                              locking:
                              sudo chattr +i es_settings.cfg
                              to unlock it:
                              sudo chattr -i es_settings.cfg

                              pjftP G 2 Replies Last reply Reply Quote 0
                              • pjftP
                                pjft @jcook84
                                last edited by

                                @jcook84 can you send over the content of the settings file after trying to change it from full to Kiosk and exiting to the Shell, together with the es_log.txt file? You may use pastebin for the effect, it should help setting what may be happening.

                                Of course you'd need to revert you're permissions changes :/

                                1 Reply Last reply Reply Quote 0
                                • Z
                                  Zigurana
                                  last edited by

                                  I think I've found the root-cause for this. The proposed solution is under review atm.

                                  If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                  J T 2 Replies Last reply Reply Quote 0
                                  • J
                                    Jenslyn87 @Zigurana
                                    last edited by

                                    @zigurana Great! I have this problem with a pi I'm building for my friend, and I really would love to see it fixed before I give it to him. Please let me / us know when the fix is available :)

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      gabrielssanches @jcook84
                                      last edited by

                                      @jcook84 said in Kiosk mode not surviving reboot:

                                      @edmaul69
                                      Good idea!

                                      So I edited es_settings.cfg to my liking (kiosk UI, snes-mini theme, ect...) then I used "chattr" to lock it ALL down. I can switch to full UI and do whatever I need to do, but after a restart it reverts back to kiosk.
                                      locking:
                                      sudo chattr +i es_settings.cfg
                                      to unlock it:
                                      sudo chattr -i es_settings.cfg

                                      that did the trick. I'll leave that way until next update.

                                      Thx

                                      Z 1 Reply Last reply Reply Quote 0
                                      • Z
                                        Zigurana @gabrielssanches
                                        last edited by

                                        This was also fixed in the latest pr, please install the experimental / dev branch (from source) and try again.

                                        Let me know how you fare!

                                        If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          LinuxArcadeGuy @Zigurana
                                          last edited by LinuxArcadeGuy

                                          @zigurana said in Kiosk mode not surviving reboot:

                                          This was also fixed in the latest pr, please install the experimental / dev branch (from source) and try again.

                                          Let me know how you fare!

                                          sorry not fixed in v2.7.3RP

                                          nevermind, had to reboot using ES NOT thru ssh...

                                          L 1 Reply Last reply Reply Quote 0
                                          • L
                                            LinuxArcadeGuy @LinuxArcadeGuy
                                            last edited by

                                            @linuxarcadeguy still not stable, has issues, survives... then doesn't survive

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