[mythtv-users] Ubuntu, Auto start frontend on bootup

Rajil Saraswat rajil.s at gmail.com
Fri Mar 30 11:32:31 UTC 2018


On 03/30/2018 06:02 AM, Stephen Worthington wrote:
> So your best bet to manually get mythfontend to autostart would
> probably be to find the version of Gnome that Ubuntu 18.04 is using
> and look up autostarting in its documentation.

I wanted to keep the machine lean and hence dont have gnome installed. 
There is a mention of using systemd to auto-login a user at
https://wiki.archlinux.org/index.php/Getty#With_systemd. Following that
i modified getty at tty8 to include the login and started it. However, i get

# systemctl status getty at tty8getty at tty8.service - Getty on tty8
   Loaded: loaded (/lib/systemd/system/getty at .service; enabled; vendor
preset: enabled)
  Drop-In: /etc/systemd/system/getty at tty8.service.d
           └─override.conf
   Active: failed (Result: start-limit-hit) since Fri 2018-03-30
16:59:49 IST; 37s ago
     Docs: man:agetty(8)
           man:systemd-getty-generator(8)
           http://0pointer.de/blog/projects/serial-console.html
  Process: 8500 ExecStart=/usr/bin/agetty --autologin mythtv --noclear
tty8 $TERM (code=exited, status=0/SUCCESS)
 Main PID: 8500 (code=exited, status=0/SUCCESS)

Mar 30 16:59:49 tvbox systemd[1]: getty at tty8.service: Service has no
hold-off time, scheduling restart.
Mar 30 16:59:49 tvbox systemd[1]: getty at tty8.service: Scheduled restart
job, restart counter is at 5.
Mar 30 16:59:49 tvbox systemd[1]: Stopped Getty on tty8.
Mar 30 16:59:49 tvbox systemd[1]: getty at tty8.service: Start request
repeated too quickly.
Mar 30 16:59:49 tvbox systemd[1]: getty at tty8.service: Failed with result
'start-limit-hit'.
Mar 30 16:59:49 tvbox systemd[1]: Failed to start Getty on tty8.

I was wondering if i need to use tty1 instead of tty8?



More information about the mythtv-users mailing list