- Open Settings
- Choose Update and Security
- Choose Recovery from the left menu
- In the Advanced startup section click Restart Now
- After reboot click Troubleshoot
- Click Advanced Options
- Click UEFI Firmware Settings
- Click Restart
These steps are used on a MINIX PC with windows 10 pro installed.
Download Ubuntu and put the image onto a thumb drive. Etcher is an easy program to use.
While in the BIOS we will change the PC to auto boot when there is a power failure and then to boot from the USB to install UBUNTU.
Next create the kiosk user account in terminal. The account will be setup with no password and auto login.
# create user
sudo adduser kiosk
# set no pass
sudo passwd -d 'kiosk'
# set auto login. Edit conf file.
# Remove comments on the auto login section and add user.
sudo nano /etc/gdm3/custom.conf
# section should look like this:
# Enabling automatic login
AutomaticLoginEnable = True
AutomaticLogin = kiosk
# next allow kiosk to sudo without a pass
sudo visudo
# add this to the end of file
kiosk ALL=(ALL) NOPASSWD: ALL
# finally reboot as kiosk user for remaining changes.
# if everything worked the user should auto login.
sudo reboot
We will change the grub settings to show the grub menu on boot so that we can access BIOS by pressing F2 when booting if needed.
In terminal:
# open grub settings
sudo nano /etc/default/grub
# add a # to comment out the line "GRUB_TIMEOUT_STYLE=hidden"
# finally, run grub update
sudo update-grub
We would like the PC to reboot daily. This must be done on the admin account.
Add an entry to crontab:
sudo crontab -e
# every day at 2 am
0 2 * * * /sbin/shutdown -r now
# save and then restart cron
sudo service cron restart
Because we installed the basic UBUNTU the package we need was not installed. Install now.
sudo apt install -y vino
These steps must be done on the kiosk user, not admin.
Stop encryption
sudo gsettings set org.gnome.Vino require-encryption false
Other possible helps
sudo apt-get install dconf-tools
These steps must be done as the kiosk user, not admin.
Open dconf. Navigate to org > gnome > desktop > remote-access
Restart for changes to work.
This piece of the setup is done in the kiosk user section.
In Terminal:
nano ~/Desktop/firefox.sh
# add this to the file and save. This will enable gestures in Firefox.
# sleep for 30 seconds so internet can connect
sleep 30s
MOZ_USE_XINPUT2=1 /usr/bin/firefox
Change permissions to script to be able to run as non sudo
chmod 777 ~/Desktop/firefox.sh
Make the script run on login. It can either be added to “Startup Applications” user interface.
Search start menu for startup applications and add ~/Desktop/firefox.sh
as the program to run.
Navigate go to url “about:config” to open settings.
Search for pdf
change “cursorToolOnLoad” to 1
change “disablePageMode” to true
change “sidebarViewOnLoad” to 4
When Firefox starts we always want the home page, do not attempt to reopen any tabs.
Search for session. change browser.sessionstore.resume_from_crash
to False
.
Settings > Universal Access > Screen Keyboard > On
Settings > Power > Blank Screen > Never
Automatic Suspend > Off
Bluetooth Off
Settings > Notifications > Off