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.
    • 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
                      • pjftP
                        pjft @scriptkiddie
                        last edited by

                        @scriptkiddie hm. Does that work with the immutability flag as well?

                        I suppose you can edit your own start script to make things work but, as we currently stand, KIOSK mode should now survive reboots.

                        What exactly is the use case you're trying to consider here? Maybe that can help. Also, I certainly struggle to advise anyone to make their settings file immutable.

                        1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @scriptkiddie
                          last edited by

                          @scriptkiddie said in Kiosk mode not surviving reboot:

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

                          Please don't bump very old topics. If you have issues with the changes of ES configuration not being saved properly, you should start a new topic and add your system specs as asked in https://retropie.org.uk/forum/topic/3/read-this-first.

                          As @pjft said, Kiosk mode not surviving reboots is fixed now, so whatever issue you may be experiencing is not due tot he code being discussed in this topic.

                          1 Reply Last reply Reply Quote 0
                          • mituM mitu locked this topic on
                          • 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.