<p dir="ltr"><br>
On Dec 13, 2013 10:09 AM, "Gao feng" <<a href="mailto:gaofeng@cn.fujitsu.com">gaofeng@cn.fujitsu.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> As we know, systemd only forks getty on ttyX when we press ctrl + alt + FX.<br>
> I whould like to let systemd forks server gettys on all of tty deivces by default.<br>
> this is very useful in container environment, since we can't use ctrl+alt+FX<br>
> to trigger getty in container.</p>
<p dir="ltr">...do containers even have such devices?</p>
<p dir="ltr">Anyway, just enable more instances of getty@.service for all devices you need, just like getty@tty1.service is started by default.</p>
<p dir="ltr">The autostart that you mention is part of logind and all it does is just start the same services via systemd, no magic.</p>