Offline Kiosk Mode on Linux

Hi There,

I’m looking to build an Arcade cabinet to showcase student’s games. To build the cabinet, I am using a repurposed laptop running Ubutu Linux. The Arcade Kiosk browser app is fantastic for this project, with one draw back:

I’d like to set up the cabinet in an environment that does not have internet access.

I understand there is a method to compile the arcade kiosk wrapper for the RPI 3 that can then execute ELF files saved locally – no internet needed. The downside to this is that I’d prefer to stick with the hardware I have, if at all possible.

Another potential solution that I’m just starting to look at is running an retro gaming emulation distro like Batocera and installing McAirpos for launching Arcade ELF files. Although I might be wrong about this possible pathway: it appears that you are still stuck running on an ARM device (which my laptop is not).

Are there other pathways that might get me to my desired end goal?

Thanks!

Mike

4 Likes

I don’t think we currently support this. @eanders is that correct?

We probably should, though. @michaelcaplan when you say setting up without internet access, do you mean you’ll have no internet access through the whole process or that you’ll be installing the cabinet somewhere without internet access? If it’s the latter, we could maybe add serviceworker support so that the kiosk gets cached after you visit it once in the browser.

6 Likes

@richard

It is the latter. Setup will be in a controlled Internet enabled environment. We will be then exhibiting students work in several locations that may or may not have accessible Internet

ServiceWorkers seems perfect for this use case.

I’m trying to think of other offline options too. Was wondering about an Electron wrapper. Not as slick as implementing native offline support through serviceWorkers, mind you.

Best

Mike

1 Like

To keep this conversation going. I am also wondering about running ELF files under QEMU. I see that they have native support for running Makcode Microbit HEX binaries in there emulator. Gonna try to log some time in the next week to check out ARM support and if I can get ELF binararies running locally that way.

4 Likes

Nice idea with QEMU, @michaelcaplan! Please keep us posted about your progress!

1 Like

is there any news about the serviceworker support on kiosk?

1 Like

@richard would the ideal pathway forward on this be to open a feature request in the microsoft/pxt or microsoft/pxt-arcade github repos? If so, I can do so (just unclear which repo is the right one).

2 Likes

@michaelcaplan pxt-arcade is the right repo!

sorry, no progress on this yet. i’ve been swamped with other work, but i’ll try and pick this up when i have a free moment.

1 Like