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 8.3k 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.
    • 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
                            • Z
                              Zigurana @LinuxArcadeGuy
                              last edited by

                              @linuxarcadeguy
                              That makes no sense at all.
                              You will need to provide more information about your setup and way of working if you want me to be any help.
                              What HW are you using? How are you rebooting / exiting ES? Under what circumstances does the UI mode stick and when does it not?

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

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

                                Are you using the actual dev version, it just installed the latest stable from source?

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

                                  @pjft said in Kiosk mode not surviving reboot:

                                  Are you using the actual dev version, it just installed the latest stable from source?

                                  installed from source

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Trailjacker
                                    last edited by

                                    I am having the same issue. KIOSK mode doesn't survive a reboot.

                                    1 Reply Last reply Reply Quote 0
                                    • reeebsR
                                      reeebs
                                      last edited by

                                      the same here.
                                      it was OK since last week, when I did a manual general update of all installed packages (from source) - since that, it stopped working properly and started to be affected by this thing: it works for the session, but can't survive reboot.
                                      and setting "Kiosk" into the config file works good, but if you once use the konami code and turn it back to full interface, it restarted the loop of not survivng reboot no more.
                                      (osmc + retropie on a raspberry pi 3)

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Trailjacker @Zigurana
                                        last edited by

                                        @zigurana Did the solution ever get reviewed or do you need help testing it with users?

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

                                          Changes are accepted in a two-step way:

                                          1. Code gets reviewed and is merged in the master branch. This can be installed by installing via de experimental menu, dev branch or somesuch.
                                          2. After sufficient exposure, the master branch gets merged into the stable branch, which is what is used for binary generation, and what you pull when installing from source.

                                          The fix has been accepted (passed step 1)
                                          So, try installing the dev branch, and see if your issue is solved.

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

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            scriptkiddie @Zigurana
                                            last edited by

                                            Sorry for necrobumping this thread but it was/is the most visible while searching for solutions for starting retropie/emulationstation with kiosk/kids mode.

                                            Current solutions have severe downsides.
                                            chattr +i on es_settings.cfg prevents changing options without unsetting immutability
                                            the commandline switches --force-kiosk and --force-kid prevent using the Konami code to make quick adjustments
                                            always going into kiosk mode before exiting is error prone and harder since you can't easily exit from within kiosk mode.

                                            I propose running this script every time before running emulationstation:

                                            #!/bin/bash
                                            s='<string name="UIMode" value="Full" />'
                                            r='<string name="UIMode" value="Kiosk" />'
                                            sed -i -e "s/$s/$r/" ~/.emulationstation/es_settings.cfg

                                            I do know that one shall not parse xml with regular expressions but since the xml in es_settings.cfg has no root element and is therefore not well formed tools like xmlstarlet won't work on it.

                                            pjftP mituM 2 Replies 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.