Ottawa Valley Triumph Club (OVTC)
  • Home
  • About
  • Events
  • For Sale
  • Regalia
  • Resources
    • Resource List
    • Poster Presentations
  • Photos
    • Members' Cars
    • 2025
    • 2024
    • 2023
    • 2022
    • 2021
    • 2020
    • 2019
    • 2018
    • 2017
    • 2016
    • 2015
    • 2014
    • 2013
    • 2012
    • 2011
    • 2010
    • 2009
    • 2008
    • 2007
    • 2006
    • 2005
    • 2004
    • 2003
    • 2002
    • 2001
    • 2000
    • 1999
  • Membership
  • History
  • Links
  • Contact
sudo apt update

sudo apt install --no-install-recommends openbox

 

sudo install -b -m 755 /dev/stdin /opt/kiosk.sh << EOF

#!/bin/bash

 

xset -dpms

xset s off

openbox-session &

 

while true; do

    rm -rf ~/.{config,cache}/google-chrome/

    google-chrome --kiosk --no-first-run  'http://golfcanada.ca/members/post-score'

done

EOF

 

sudo install -b -m 644 /dev/stdin /etc/init/kiosk.conf << EOF

start on (filesystem and stopped udevtrigger)

stop on runlevel [06]

 

emits starting-x

respawn

 

exec sudo -u $USER startx /etc/X11/Xsession /opt/kiosk.sh --

EOF

 

sudo dpkg-reconfigure x11-common  # select Anybody

 

echo manual | sudo tee /etc/init/lightdm.override  # disable desktop

 

sudo reboot

© 2011-2025 Ottawa Valley Triumph Club (OVTC)