• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.
  • P
    pjft @jcook84
    last edited by 18 Nov 2017, 06:59

    @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 19 Nov 2017, 10:21

      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 21 Nov 2017, 23:32 Reply Quote 0
      • J
        Jenslyn87 @Zigurana
        last edited by 21 Nov 2017, 23:32

        @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 22 Nov 2017, 23:10

          @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 28 Nov 2017, 12:39 Reply Quote 0
          • Z
            Zigurana @gabrielssanches
            last edited by 28 Nov 2017, 12:39

            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 28 Nov 2017, 23:58 Reply Quote 0
            • L
              LinuxArcadeGuy @Zigurana
              last edited by LinuxArcadeGuy 28 Nov 2017, 23:58

              @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 29 Nov 2017, 00:09 Reply Quote 0
              • L
                LinuxArcadeGuy @LinuxArcadeGuy
                last edited by 29 Nov 2017, 00:09

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

                Z 1 Reply Last reply 29 Nov 2017, 05:36 Reply Quote 0
                • Z
                  Zigurana @LinuxArcadeGuy
                  last edited by 29 Nov 2017, 05:36

                  @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
                  • P
                    pjft
                    last edited by 29 Nov 2017, 07:39

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

                    L 1 Reply Last reply 29 Nov 2017, 23:54 Reply Quote 0
                    • L
                      LinuxArcadeGuy @pjft
                      last edited by 29 Nov 2017, 23:54

                      @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 4 Dec 2017, 22:58

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

                        1 Reply Last reply Reply Quote 0
                        • R
                          reeebs
                          last edited by 6 Dec 2017, 17:22

                          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 7 Dec 2017, 22:28

                            @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 8 Dec 2017, 06:47

                              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 30 Jan 2024, 02:03 Reply Quote 0
                              • S
                                scriptkiddie @Zigurana
                                last edited by 30 Jan 2024, 02:03

                                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.

                                P mituM 2 Replies Last reply 30 Jan 2024, 02:29 Reply Quote 0
                                • P
                                  pjft @scriptkiddie
                                  last edited by 30 Jan 2024, 02:29

                                  @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 30 Jan 2024, 05:56

                                    @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 30 Jan 2024, 05:56
                                    • 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.

                                      [[user:consent.lead]]
                                      [[user:consent.not_received]]