[systemd-devel] logind: discontinuous TTYs?

Arseny Maslennikov arseny at altlinux.org
Fri Aug 26 16:56:57 UTC 2022


On Fri, Aug 26, 2022 at 06:55:46PM +0300, Toomas Rosin wrote:
> Hi,
> 
> I would like to configure logind so that it spawns getties only on tty1
> and tty12.  I know I can set NAutoVTs to 12, but how to disable getties
> on tty2..tty11?

$ TTYID=tty2 # for example
$ ln -s /dev/null /etc/systemd/system/autovt@$TTYID.service

> 
> Regards,
> T.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20220826/c23c4c14/attachment.sig>


More information about the systemd-devel mailing list