sudo apt-get update
sudo apt-get upgrade
sudo apt-get install --no-install-recommends xserver-xorg x11-xserver-utils xinit openbox
sudo apt-get install --no-install-recommends chromium-browser
sudo vim /etc/xdg/openbox/autostart
# Disable any form of screen saver / screen blanking / power management
xset s off
xset s noblank
xset -dpms
# Allow quitting the X server with CTRL-ATL-Backspace
setxkbmap -option terminate:ctrl_alt_bksp
# Start Chromium in kiosk mode
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' ~/.config/chromium/'Local State'
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/; s/"exit_type":"[^"]\+"/"exit_type":"Normal"/' ~/.config/chromium/Default/Preferences
chromium-browser --disable-infobars --kiosk 'http://your-url-here'
startx -- -nocursor
sudo vim .bashrc
Add the following line to the file
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx -- -nocursor
If Chromium (or the X server) crashes, press Ctrl-Alt-Backspace to kill the X server and restart it with
startx -- -nocursor.
If you need a terminal session, you can switch to one of the other consoles by pressing Ctrl-Alt-F2 (or any other function key).
Pressing Ctrl-Alt-F1 brings you back to the first console where Chromium is running.
sudo systemctl edit [email protected]
Add the following, replacing myusername with your user name:
[Service]
ExecStart=
ExecStart=-/sbin/agetty --noissue --autologin myusername %I $TERM
Type=idle
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
sudo dpkg -i teamviewer_amd64.deb
sudo apt -f install
sudo teamviewer setup