Kiosk mode not surviving reboot
-
@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 :/
-
I think I've found the root-cause for this. The proposed solution is under review atm.
-
@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 :)
-
@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.cfgthat did the trick. I'll leave that way until next update.
Thx
-
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!
-
@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.3RPnevermind, had to reboot using ES NOT thru ssh...
-
@linuxarcadeguy still not stable, has issues, survives... then doesn't survive
-
@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? -
Are you using the actual dev version, it just installed the latest stable from source?
-
@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
-
I am having the same issue. KIOSK mode doesn't survive a reboot.
-
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) -
@zigurana Did the solution ever get reviewed or do you need help testing it with users?
-
Changes are accepted in a two-step way:
- Code gets reviewed and is merged in the
master
branch. This can be installed by installing via de experimental menu, dev branch or somesuch. - 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. - Code gets reviewed and is merged in the
-
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.cfgI 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.
-
@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.
-
@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.
-
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.