sudo apt-get install xscreensav* -yInstall flashplugin:
sudo apt-get isntall ubuntu-restricted-extras -y* I prefer vim for text editing (you can use/download your favourite text editor):
sudo apt-get install vim -yGo to www.opera.com, choose debian package for Ubuntu,
Install it:
sudo dpkg -i opera*.debCreate kiosk user, set random password, set automatic login.
Log in kiosk user, run
xscreensaver-demoAnswer with yes/ok
I prefer disable screen saver
Open opera web browser, choose preferences
startup start with home page, enter home page
Uncheck Enable Password manager
History adresses 0, uncheck remember content on visited pages
Right click on search bar Customize > Remove from toolbar (important for security reasons)
Enable main bar
Right click and remove Open, Save, Print buttons same way.
You may leave Find and Home button, but I removed them all to leave more space for web-page on screen.
In about:config disable "Show crash log upload dialogue" and "Show problem dialogue"
Opera > Exit
Log in as admin user.
sudo vim /usr/share/xsessions/kiosk.desktop[Desktop Entry]
Encoding=UTF-8
Name=kiosk
Comment=Opera Kiosk Mode
Exec=/usr/share/xsessions/opera.sh
Type=Applicationsudo vim /usr/share/xsessions/opera.sh#!/bin/bash
xscreensaver -nosplash &
#while true; do opera; sleep 5s; done
while true; do opera --k --kioskbuttons --kioskresetstation --nochangebuttons --nochangefullscreen --nocontextmenu --nodownload --nokeys --nomail --nomaillinks --nomenu --nominmaxbuttons --noprint --nosave --nosplash --geometry 1280x1024+0+0; sleep 5s; done* Edit your opera window size (--geometry 1280x1024+0+0)
sudo chmod 755 /usr/share/xsessions/opera.shsudo vim /etc/lightdm/lightdm.confuser-session=kioskAdd this line, to disable guest account:
allow-guest=false* For remote access you can install ssh server
sudo apt-get install openssh-server* For security reasons you can install ubuntu firewall
sudo apt-get install gufwAlt+F2 gufw, enable firewall, disable incoming trafic, open 22. tcp port for ssh.
sudo passwd rootsucrontab -e
0 1 * * * /sbin/rebootsudo reboot* When something goes wrong or you just want to login in regular unity session, you need to edit /etc/lightdm/lightdm.conf, change back
user-session=ubuntusave and reboot
You can do this from
1) SSH or
2) Reboot machine, hold shift while grub loading, choose recovery mode, root console, enter password.
* You may wish change opera settings folder to read-only, but I found it not necessary to do.
--
http://www.instructables.com/id/Setting-Up-Ubuntu-as-a-Kiosk-Web-Appliance/
http://www.opera.com/support/mastering/kiosk/
Hello!
AtbildētDzēstthanks for your instructions. Everything works fine but there is one small problem. As for the keyboard. There is no Polish fonts in kiosk mode. Where can I change the code page layout in kiosk mode?