No Ubuntu Server 14.04 eu estava usando o tty1.conf para iniciar uma janela do navegador do cromo para exibir uma página da web. O que foi bem simples. No entanto, no Ubuntu 16.10, o tty1.conf desapareceu e eu não entendo bem o systemd. Este é o código no tty1.conf
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345] and (
not-container or
container CONTAINER=lxc or
container CONTAINER=lxc-libvirt)
stop on runlevel [!2345]
respawn
#exec /sbin/getty -8 38400 tty1
exec /usr/bin/startx /home/username/launch.sh
E isso no launch.sh
#!/bin/sh
xrandr -o right
sleep 1; xset s off
sleep 1; xset -dpms
rm -r /home/username/chrome-home
chromium-browser --kiosk http://localhost:81 --user-data-dir=/home/username/chrome-home
Esse código é usado para executar launch.sh usando tty1 e launch.sh foi usado para exibir o conteúdo em uma página da web localhost. Você pode por favor me ajudar a recriar isso usando systemd. Muito obrigado!