[systemd-devel] getty : how to run getty on every ttyX

Lennart Poettering lennart at poettering.net
Fri Dec 13 07:04:35 PST 2013


On Fri, 13.12.13 16:10, Gao feng (gaofeng at cn.fujitsu.com) wrote:

> Hi,
> 
> As we know, systemd only forks getty on ttyX when we press ctrl + alt + FX.
> I whould like to let systemd forks server gettys on all of tty deivces
> by default.

You can control how many VTs logind cares for with NAutoVTs in logind.conf.

> this is very useful in container environment, since we can't use ctrl+alt+FX
> to trigger getty in container.

Containers know no virtual consoles. This will not work.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list