You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we have a use case where everyone in the room has a tablet or smartphone but the teacher also wants to showcase on a large screen (projector or TV screen). Ideally, we could/should be able to simply plug the hotspot onto it and have visual display.
This should be possible to do so by having a kind of kiosk mode starting a browser in fullscreen. The challenge is probably to be able to implement this feature without disadvantaging too much the other users (more storage and more memory used).
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
Well considering the amount of people who wrongfully do this (despite the necessary how-to, user manual, FAQ, etc.), I'd say that we'll soon reach the point where we either need to set up an automated message or deal with the issue. There's also been the request made in the context of training sessions (e.g. show on screen what everyone in the room should see on their device)
Bottom line: not urgent, can wait 2.5, but I would want to see it eventually.
I'm also in favor. Unless there's a huge downside (consumes too much resources all the time, takes too much space), it makes very little sense to prevent it.
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
No we already have #51
It's been agreed that we won't support this in the forseeable future because we can't conditionally enable it and we don't want all the stack.
People with an actual need can still install a desktop stack on top of an hotspot-created image.
We could imagine documenting (or providing a script) to properly install/configure such a desktop on top of an image of ours, but that would not be at base-image anyway
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
I wanted to experiment with this, and I finally more or less achieved to make it work.
Sample code for docker-compose yml (/etc/docker/compose.yml, config below is for demo image or any hotspot named wikipedia):
services:
browser:
image: bh.cr/balenalabs/browser-aarch64:v2.9.0
privileged: true # required for UDEV to find plugged in peripherals such as a USB mouse
environment:
SHOW_CURSOR: 1
LAUNCH_URL: http://wikipedia.hotspot
I also had to edit the /etc/hosts inside this container to add proper DNS records (DNS to the hotspot is not working from inside the container) ; I just added wikipedia.hotspot and kiwix.wikipedia.hotspot pointing to 192.168.2.1 for my tests, more entries are obviously needed, and this does not survive a hotspot restart.
The image size is not negligible (I don't have precise numbers, dive is not working for some reason on my machine with this image ... but it is more than 600M).
The whole stack is pretty slow on a Raspberry Pi 3 Model B, but still usable if you are a bit patient. Probably drains quite a lot of battery. I can't check how it runs on a Pi 5 ... because I don't have proper HDMI cable ... stay tuned!
adding dns to the container configuration does not help
setting network_mode: host to the container configuration solves the networking issue (after all, it is already priviledged, so sharing network with host is not that a big deal
I'm pleased to announce this works like a charm on a Pi5, very fast even with just an SD card. You just need a real power source otherwise your Pi will reboot / shutdown automatically when the "browser" container starts.
A PR where for what ?
The image I used is already capable to run in kiosk mode. I prefer to have the address bar (there is no menu anyway) to have capability to have multiple tabs, tweak the address if needed, ... So question is more what do we want and where ? Maybe this should just be two distinct options in imager service. And this should probably be possible only on Pi5. I don't think that enabling this by default on lower end device would help a lot since it seems to consume a significant share of power.
We have talked so far about technical challenges, but actually the requirements of a working solution have not been clearly written. Here they are from my PoV:
Once the HDMI screen plugged and the web services started, then the Kiwix Hotspot dashboard should be displayed (and all Kiwix Hotspot made available like via wifi)
If no HDMI device is visible, then the kiosk service should be stopped (it is important that no memory is used for this if not used)
This is a standart service of Kiwix Hotspot (not an optional one)
Hello guys, I have been looking forward to using a fully-customizable Kiwix Hotspot for some time now, and I have seen a number of updates from GitHub, but what is the current status? The instructions on the main website had caused some confusion for me earlier this year, and I invested a bunch of time trying to get the hotspot feature to function as described, but I wasn’t ever able to get it to work.If the feature is active now, and you have a list of steps I can follow to get the hotspot running I’d really appreciate it if you would share those with me so I can get the hotspot set-up properly and start using it.Thanks to everyone for expending the time and energy to make the hotspot feature available. Having a fully-customizable hotspot for Kiwix will be tremendous resource.In advance, I appreciate help on this.SJ80231
On Oct 27, 2024, at 7:25 AM, Kelson ***@***.***> wrote:
We have talked so far about technical challenges, but actually the requirements of a working solution have not been clearly written. Here they are from my PoV:
Once the HDMI screen plugged and the web services started, then the Kiwix Hotspot dashboard should be displayed (and all Kiwix Hotspot made available like via wifi)
If no HDMI device is visible, then the kiosk service should be stoped (it is important that no memory is used for this if not used)
This is a standart service of Kiwix Hotspot (not an optional one)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
@sj80231 this is not yet available. Use the subscribe button on the right pane of this ticket to be notified of updates. Once this ticket is closed, it means it is implemented.
@sj80231 The status is exactly what is here: we have an idea of how we get to what we want, and know what the final outcome should be. Next thing you should look for is for this issue to be closed, which will mean the feature has been pushed to the production branch. Right now no code to implement the feature has been written.
I have one question though for you:
The website states explicitely:
Q: Can I plug my Raspberry to a screen?
A: No, it’s not a desktop computer but a wi-fi hotspot. If you were to plug it to a screen you would probably see a command line screen (and no content).
The only way at this stage to access your content is to connect to the wi-fi network created by the Raspberry.
So what do you mean when you write "The instructions on the main website had caused some confusion "
In answer to your question. I had problems with verbiage on pages that made me believe the hotspot was a functional thing.From what I see at this point, I think you took my advice and cleaned up some of that now. At this point, I have found Pi-Fi, and that open source project basically gives me all the functionality I need to use my .zim files with Kiwix. Second choice after that (for anyone else reading this) would be to buy $30 travel router, that has AP mode and attach a small SSD. Problem solved.If what you guys are working on does something better great. I’ll watch for it. But it needs to come out before it’s D.O.A. and replaced by a number of other very simple solutions.sj80231On Nov 7, 2024, at 12:28 AM, Popo le Chien ***@***.***> wrote:
@sj80231 The status is exactly what is here: we have an idea of how we get to what we want, and know what the final outcome should be. Next thing you should look for is for this issue to be closed, which will mean the feature has been pushed to the production branch. Right now no code to implement the feature has been written.
I have one question though for you:
The website states explicitely:
Q: Can I plug my Raspberry to a screen?
A: No, it’s not a desktop computer but a wi-fi hotspot. If you were to plug it to a screen you would probably see a command line screen (and no content).
The only way at this stage to access your content is to connect to the wi-fi network created by the Raspberry.
So what do you mean when you write "The instructions on the main website had caused some confusion "
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
Activity
rgaudin commentedon Jan 20, 2020
In GitLab by @kelson42 on Nov 1, 2019, 10:39
This should be possible to do so by having a kind of kiosk mode starting a browser in fullscreen. The challenge is probably to be able to implement this feature without disadvantaging too much the other users (more storage and more memory used).
stale commentedon Mar 20, 2020
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
kelson42 commentedon May 5, 2020
Someone made something around these lines and hase given a few hints:
It seems that the solution works with
surf-displayhttps://manpages.ubuntu.com/manpages/cosmic/man1/surf-display.1.htmlstale commentedon Jul 4, 2020
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
kelson42 commentedon Apr 20, 2021
If we implement this, we shoukd probably launch it only if something connected via HDMI.
rgaudin commentedon Apr 20, 2021
So is this feature request accepted?
kelson42 commentedon Apr 20, 2021
Not sure on my side
Popolechien commentedon Apr 20, 2021
Well considering the amount of people who wrongfully do this (despite the necessary how-to, user manual, FAQ, etc.), I'd say that we'll soon reach the point where we either need to set up an automated message or deal with the issue. There's also been the request made in the context of training sessions (e.g. show on screen what everyone in the room should see on their device)
Bottom line: not urgent, can wait 2.5, but I would want to see it eventually.
rgaudin commentedon Apr 20, 2021
I'm also in favor. Unless there's a huge downside (consumes too much resources all the time, takes too much space), it makes very little sense to prevent it.
kelson42 commentedon Apr 20, 2021
My concerns are moderate but:
stale commentedon Jun 20, 2021
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
stale commentedon Feb 1, 2022
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
kelson42 commentedon Aug 29, 2023
@rgaudin Should we move this ticket to
base-image?rgaudin commentedon Aug 30, 2023
No we already have #51
It's been agreed that we won't support this in the forseeable future because we can't conditionally enable it and we don't want all the stack.
People with an actual need can still install a desktop stack on top of an hotspot-created image.
We could imagine documenting (or providing a script) to properly install/configure such a desktop on top of an image of ours, but that would not be at base-image anyway
3 remaining items
stale commentedon Dec 29, 2023
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
benoit74 commentedon Jan 26, 2024
Potential solution https://github.com/balena-labs-projects/browser
stale commentedon Mar 30, 2024
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
benoit74 commentedon Oct 24, 2024
I wanted to experiment with this, and I finally more or less achieved to make it work.
Sample code for docker-compose yml (
/etc/docker/compose.yml, config below is for demo image or any hotspot namedwikipedia):I also had to edit the /etc/hosts inside this container to add proper DNS records (DNS to the hotspot is not working from inside the container) ; I just added wikipedia.hotspot and kiwix.wikipedia.hotspot pointing to 192.168.2.1 for my tests, more entries are obviously needed, and this does not survive a hotspot restart.
The image size is not negligible (I don't have precise numbers, dive is not working for some reason on my machine with this image ... but it is more than 600M).
The whole stack is pretty slow on a Raspberry Pi 3 Model B, but still usable if you are a bit patient. Probably drains quite a lot of battery. I can't check how it runs on a Pi 5 ... because I don't have proper HDMI cable ... stay tuned!
rgaudin commentedon Oct 25, 2024
Great ; thank you for the tests!
Indeed, the per-app subdomains are unknown to docker and thus not managed by it. We can add
dnsoption for this if it is required for this one.benoit74 commentedon Oct 25, 2024
Didn't knew about this
dnsoption of Docker compose ... would have been way simpler indeed ^^benoit74 commentedon Oct 27, 2024
Some more experiments:
dnsto the container configuration does not helpnetwork_mode: hostto the container configuration solves the networking issue (after all, it is already priviledged, so sharing network with host is not that a big dealBALENA_DEVICE_TYPE: raspberrypi5(seestart.shmodification done at https://github.com/balena-io-experimental/browser/pull/166/files)I'm pleased to announce this works like a charm on a Pi5, very fast even with just an SD card. You just need a real power source otherwise your Pi will reboot / shutdown automatically when the "browser" container starts.
kelson42 commentedon Oct 27, 2024
We should make a PR IMO, and see how to achieve to display the browser fullscreen (which issue is that?) to make a kiosk.
benoit74 commentedon Oct 27, 2024
A PR where for what ?
The image I used is already capable to run in kiosk mode. I prefer to have the address bar (there is no menu anyway) to have capability to have multiple tabs, tweak the address if needed, ... So question is more what do we want and where ? Maybe this should just be two distinct options in imager service. And this should probably be possible only on Pi5. I don't think that enabling this by default on lower end device would help a lot since it seems to consume a significant share of power.
kelson42 commentedon Oct 27, 2024
We have talked so far about technical challenges, but actually the requirements of a working solution have not been clearly written. Here they are from my PoV:
sj80231 commentedon Nov 6, 2024
rgaudin commentedon Nov 7, 2024
@sj80231 this is not yet available. Use the subscribe button on the right pane of this ticket to be notified of updates. Once this ticket is closed, it means it is implemented.
Popolechien commentedon Nov 7, 2024
@sj80231 The status is exactly what is here: we have an idea of how we get to what we want, and know what the final outcome should be. Next thing you should look for is for this issue to be closed, which will mean the feature has been pushed to the production branch. Right now no code to implement the feature has been written.
I have one question though for you:
The website states explicitely:
So what do you mean when you write "The instructions on the main website had caused some confusion "
sj80231 commentedon Nov 8, 2024