Page 1 of 1

[SOLVED] Porteus Kiosk Chrome Configuration

Posted: 10 Nov 2017, 15:24
by Ghosty
Hey there, so I am new to Porteus am trying to do something that I believed was simple enough:
run a kiosk that plays a video until it is interacted with, then shows a website and only that website.

It worked fantastically until I had to make some changes last Monday, and since then it no longer works. Chrome seemingly updated after I re-imaged my kiosk flash drive with new preference changes.
My kiosk conf file has not changed, I've simply changed the browser-preferences / chrome-policies. Even re-imaging with my old configuration results in the same outcome now, on boot and Chrome loads, it fills the screen with a popup that says "make chrome my default browser" & "send usage statistics" and has the OK button at the bottom right of the screen. It does not go away until OK is pressed, and when Porteus restarts, the popup reappears again.
I cannot have this, for obvious reasons.

To remedy this, I have changed my chrome conf txt to:

Code: Select all

{
  "DefaultGeolocationSetting" : 1,
  "VirtualKeyboardEnabled" : 1,
  "ExtensionInstallWhitelist" : "cldokedgmomhbifmiiogjjkgffhcbaec",
  "ExtensionInstallForcelist" : "cldokedgmomhbifmiiogjjkgffhcbaec;https://clients2.google.com/service/update2/crx"
  "DefaultPopupsSetting" : 2,
  "DefaultBrowserSettingEnabled" : false,
  "MetricsReportingEnabled" : false,
  }
  
But it never seems to actually apply that configuration. So I went a step further, ripped the XZM files from my current running kiosk flash drive, unsquashed them, manually edited /etc/opt/chrome/policies/manages/chrome.json in 003-settings. I made an extra xzm with that config called chromeconf.xzm in case the system replaced 003 on installation. Squashed all the xzm's as per the how-to on the website, made the new iso, formatted it for USB usage. I burned that to USB 1, used the wizard from that USB and installed it all to my USB 2. Everything was successful, but despite all my changes, it still opens to the same "make chrome my default browser" window on boot. I've then gone through USB 2 and verified that my files are still there and unchanged, and they are.

What am I missing to correct this issue? I'm pulling my hair out. :wall:

Thanks in advance.

Porteus Kiosk Chrome Configuration

Posted: 10 Nov 2017, 16:13
by fanthom
"My kiosk conf file has not changed, I've simply changed the browser-preferences / chrome-policies. Even re-imaging with my old configuration results in the same outcome now, on boot and Chrome loads, it fills the screen with a popup that says "make chrome my default browser" & "send usage statistics" and has the OK button at the bottom right of the screen. "
Your new policies must break default Chrome configuration.

Just roll back to working policies and edit them one by one to find which one causes troubles.

Thanks