You are not logged in.

#1 2012-11-26 09:18:58

eruditorum
Member
Registered: 2012-11-12
Posts: 130

[SOLVED] Delay in spawning VT login

I use systemd's VT-handling capabilities and there is noticeable delay (3-5 seconds or so) between I switch to some screen (with Alt-F* or Alt-Ctrl-F* from Xorg) and the corresponding virtual terminal's login appears. It happens only once (at first switch), other VTs then appear instantly.

But it is annoying. How one can fix it?

Last edited by eruditorum (2013-02-16 11:15:55)

Offline

#2 2012-11-28 00:10:04

joyfulgirl
IRC Op
Registered: 2008-04-03
Posts: 68

Re: [SOLVED] Delay in spawning VT login

Unless you've specifically configured it otherwise, systemd spawns exactly one VT until you do something to create a new one. The delay you're seeing is the time it takes your system to spawn a new getty.

You can make systemd spawn more gettys at boot by creating new symlinks to /usr/lib/systemd/system/getty@.service in /etc/systemd/system/getty.target.wants. The new symlinks need to be numbered: tty1 would be getty@tty1.service, tty2 getty@tty2.service and so on.

More info can be found here.

Offline

#3 2012-12-11 17:25:23

eruditorum
Member
Registered: 2012-11-12
Posts: 130

Re: [SOLVED] Delay in spawning VT login

Yes, ArchLinux's standart getty.service file seems to be broken.

Offline

Board footer

Powered by FluxBB