An undocumented application in Thinstation
Just in the morning, I received an email asking for help in setting up the web kiosk on package firefox_lowmem , in the process I started searching for the firefox package settings file - prefs.js ; Yes, the level was mistaken with the folder, i.e. I looked in the packages folder and came across this file in the openkiosk package .
As it turned out, since March 2014 this package has been present in Thinstation, but nothing has been written about it anywhere, it became interesting ...
First of all, I read the readme, follow the link and see:
The world scale, of course, smiled. No forum, no wiki, and no ridiculous FAQ, the latest release is over a year old.
Open Kiosk is a cross-platform Mozilla Firefox-based kiosk web browser that can be easily installed and used to protect your computer for use as a public terminal. This is the complete solution for any kiosk installation. This software is released under the MPL "as is" without warranty or support.
Open Kiosk is currently deployed in schools, universities, libraries, hospitals, airports, hotels, governments and companies worldwide.
But we are not used to retreating ... I decided to see what it is and how it is ...
The installation process and settings options are described in the same readme.
We write in build.conf :
package openkioskin build.urls we prescribe the version fresher:param openkioskurl https://www.mozdevgroup.com/dropbox/okcd/2.5/openkiosk-2.5.3-2014-03-12.tar.bz2In thinstation.conf.xxx we write:
SESSION_0_TYPE=openkiosk
SESSION_0_AUTOSTART=On
SESSION_0_OPENKIOSK_HOMEPAGE=http://it-advisor.ruWell, now the most interesting:SESSION_0_OPENKIOSK_ADMIN_PASS="c7bd4d096ec866bd58aca387cefe8d35" # пароль администратора для входа в меню настроек через Shift+F1
SESSION_0_OPENKIOSK_TOOLBAR_ON="true" # разрешаем, если нужна, "панель управления"
SESSION_0_OPENKIOSK_TOOLBAR_BUTTONS="unified-back-forward-button,reload-button,stop-button,home-button,urlbar-container,print-button,zoom-control,reset-container,navigator-throbber" # что будет на панели управления - адресная строка, кнопки: вперёд-назад, перезагрузка страницы и т.п.
SESSION_0_OPENKIOSK_RESET_TIMER="5" # время бездействия в минутах, после которого загрузится домашняя страница
SESSION_0_OPENKIOSK_WHITELIST_URL="http://it-advisor.ru/whitelist.txt" # список разрешённых адресовadmin password must be written in the form of a hash, processing your password through:echo '' | phpThe above password is 1q2w3e4r . The most tasty thing, in my opinion, is a list of allowed resources that can be placed on a web server and edited as necessary, an example of filling in etc / openkiosk / profile_template / whitelist.txt
I ’ve put it together , started it up, it even works smartly , it’s clear - Firefox 19.0.2, only sadness - the password and the list do not work ...
Nobody uses the application, there is no forum wiki, let's figure it out myself, the jambs were found quickly:
- in the package initialization file etc / init.d / openkiosk.init in line 50 there is no underscore in the variable $ SESSION _ '$ x'_OPENKIOSK_ADMINPASS change to $ SESSION _' $ x'_OPENKIOSK_ADMIN_PASS
- in the 80th row we remove the -N option, in Thinstation wget it does not understand it.
I collect, download and everything works, an ambulance is provided, profit ...

