Page 1 of 1
Unable to load config file
Posted: 08 Aug 2018, 12:19
by dessington
Hi,
I have the kiosk.txt file on my server (publicly accessible & loads correctly in browser so is correct & accessible) with all settings including kiosk_config url but the setup will not load it. Url is: kiosk_config=
http://myserver.co.za/lab/kiosk.txt. Have tried with and without https & www. Any ideas?
Unable to load config file
Posted: 08 Aug 2018, 16:35
by fanthom
I understand you enter just the URL in the wizard and not parameter+URL?
Make sure on final config window:
http://porteus-kiosk.org/screens/wizard/config.png
you have parameter+URL:
Code: Select all
kiosk_config=http://myserver.co.za/lab/kiosk.txt
By the way - this url is not valid:
http://myserver.co.za/lab/kiosk.txt
i cant find any kiosk config there.
Unable to load config file
Posted: 08 Aug 2018, 18:49
by dessington
It was an example domain I used. The actual one is
https://www.kingsschool.co.za/lab/kiosk.txt
Unable to load config file
Posted: 08 Aug 2018, 19:10
by fanthom
Your webserver is configured to reject all clients which does not have an user agent set:
Code: Select all
wget https://www.kingsschool.co.za/lab/kiosk.txt
--2018-08-08 21:08:11-- https://www.kingsschool.co.za/lab/kiosk.txt
Resolving www.kingsschool.co.za... 77.104.189.92
Connecting to www.kingsschool.co.za|77.104.189.92|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2018-08-08 21:08:12 ERROR 403: Forbidden.
This works:
Code: Select all
wget -U mozilla https://www.kingsschool.co.za/lab/kiosk.txt
--2018-08-08 21:08:23-- https://www.kingsschool.co.za/lab/kiosk.txt
Resolving www.kingsschool.co.za... 77.104.189.92
Connecting to www.kingsschool.co.za|77.104.189.92|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: 'kiosk.txt'
kiosk.txt [ <=> ] 782 --.-KB/s in 0s
2018-08-08 21:08:24 (40.5 MB/s) - 'kiosk.txt' saved [782]
Maybe you could remove this policy?
We cant add user agent by default as it breaks configs hosted on e.g. dropbox.com.
Unable to load config file
Posted: 08 Aug 2018, 19:17
by dessington
Yes this is to block spam traffic and cannot be disabled. How could I set the user agent?
Unable to load config file
Posted: 08 Aug 2018, 19:19
by dessington
Ok I managed to remove just wget and it works
Thank you for your assistance.
Unable to load config file
Posted: 08 Aug 2018, 20:04
by dessington
This is such a useful piece of software thank you.
Unable to load config file
Posted: 08 Aug 2018, 20:14
by dessington
Last question: When it boots it shows my wallpaper, then a black screen for a few seconds then displays the wallpaper again. Is there any way to skip the black screen interval?
Unable to load config file
Posted: 09 Aug 2018, 09:42
by fanthom
Its not possible to skip the black screen completely as splash works on a kernel framebuffer while browser needs Xorg session (different drivers).
Unable to load config file
Posted: 09 Aug 2018, 16:17
by dessington
Ok ty.
Unable to load config file
Posted: 09 Aug 2018, 16:27
by fanthom
Actually - you may try:
but you'll loose some features (e.g. there may be tearing on Intel GPU when screen is rotated).
Unable to load config file
Posted: 23 Aug 2018, 09:30
by dessington
Still has the black screen interval with that setting enabled.
Unable to load config file
Posted: 23 Aug 2018, 16:10
by fanthom
In this case the only solution is to use completely black wallpaper.