• Building a Chrome Browser only Ubuntu Kiosk



    • Download Ubuntu Server Installer ISO and install





    • Install xorg & chromium-browser


    apt-get install xorg chromium-browser



    • Modify grub parameters


    sudo vim /etc/default/grub


    GRUB_CMDLINE_LINUX_DEFAULT=”quiet loglevel=3 rd.systemd.show_status=false rd.udev.log-priority=3 acpi=off apm=off consoleblank=0”

    sudo update-grub



    • Create ~/.xinitrc with the content


    XAUTHORITY=/home/<user>/.Xauthority DISPLAY=:0.0 xset -dpms

    XAUTHORITY=/home/<user>/.Xauthority DISPLAY=:0.0 xset s off

    XAUTHORITY=/home/<user>/.Xauthority DISPLAY=:0.0 xset s noblank

    exec chromium-browser –cache-size=0 -kiosk –incognito \

    –window-size=1366,768 –window-position=0,0 –noerrdialog \


    • Create ~/.bash_profile with the content


    sleep 1

    exec startx – –nocursor



    • Edit /etc/systems/system/getty.target.wants/getty@tty1.service


    ExecStart=-/sbin/agetty –autologin <user> –noclear %I $TERM



    • Remove all files under /etc/update-motd.d


    rm /etc/update-motd.d/*

    Categories: General

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>