Author Topic: Attract Mode at bootup with CentOS  (Read 2096 times)

CyanideSandwich

  • Newbie
  • *
  • Posts: 2
    • View Profile
Attract Mode at bootup with CentOS
« on: May 18, 2016, 07:03:44 PM »
Has anybody managed to setup a systemd-based system so that Attract Mode automatically starts instead of GDM or login?

I'm trying to build a CentOS-based emulator appliance that uses Attract Mode as it's UI.   I would like to make it so that I don't need to have a keyboard attached and just use my controller to navigate the interface.   

I'm an old hand at Linux, but a complete n00b at systemd.   What I have done is create a user "mame" that will be used for all things AM-related.  I would like to create a target (runlevel in SysV init terms) that will SUID to this user and run AM.  Then I can make that the default target so that it will happen automatically upon startup.

For now I need this target to also bring up the network and start up sshd so that I can login remotely and make changes to the AM config files until I have everything setup the way I want.

Any help would be appreciated!