[systemd-devel] Antw: [EXT] Re: [systemd‑devel] logind: discontinuous TTYs?
>>> Toomas Rosin schrieb am 26.08.2022 um 19:22 in Nachricht <6751.1661534553@toomas>: > Hi, > > Arseny Maslennikov wrote: > >> $ TTYID=tty2 # for example >> $ ln ‑s /dev/null /etc/systemd/system/autovt@$TTYID.service > > This works, thank you! Would the command above be the same as "systemctl mask autovt@$TTYID.service"? If so, the command would probably preferable to messing with systemd links, I guess. Regards, Ulrich
Re: [systemd-devel] logind: discontinuous TTYs?
Hi, Arseny Maslennikov wrote: > $ TTYID=tty2 # for example > $ ln -s /dev/null /etc/systemd/system/autovt@$TTYID.service This works, thank you! T.
Re: [systemd-devel] logind: discontinuous TTYs?
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. signature.asc Description: PGP signature
Re: [systemd-devel] logind: discontinuous TTYs?
Do they have to be autospawned by logind? You can always statically start getty@.service on any tty you want (like it used to be with inittab). On Fri, Aug 26, 2022 at 7:11 PM 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? > > Regards, > T. > -- Mantas Mikulėnas