You are not logged in.

#1 2026-12-01 21:05:24

wpkzz
Member
Registered: 2020-01-10
Posts: 57

Login prompt on TTY1 repeats itself after some seconds, why?

I do not know if this goes on this particular forum, so, if needed to move please tell me.

I have this weird behaviour since like 18 months, but it is not really anoying so I haven't really bothered to correct it, but I know that it is some mistake.

The login prompt at TTY1 ( I do not use a graphical log manager) repeats itself if left alone for like 20 seconds, again and again, looking something like this:

Hello, this is Machine, using Arch linux 7.3.something
Date and Hour:
1/12/2026 14:15
login:
Hello, this is Machine, using Arch linux 7.3.something
Date and Hour:
1/12/2026 14:16
login:
Hello, this is Machine, using Arch linux 7.3.something
Date and Hour:
1/12/2026 14:16
login:
Hello, this is Machine, using Arch linux 7.3.something
Date and Hour:
1/12/2026 14:17
login:

and so on.

Okey, I just verified and that happens across all TTYs.


Moyocoyani, Tloque Nahuaque.

Offline

#2 2026-12-02 00:01:30

mpan
Member
Registered: 2012-08-01
Posts: 1,680
Website

Re: Login prompt on TTY1 repeats itself after some seconds, why?

Inspect the journal around the time this is happening. Entries for unit getty@tty1.service are what you should be looking at.

Is getty@.service the original one, or did you modify it in any way?

Offline

#3 2026-12-02 08:20:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,161

Re: Login prompt on TTY1 repeats itself after some seconds, why?

I just verified and that happens across all TTYs.

Spurious  input (enter)?
Can you log in during this phase?

is not really anoying so I haven't really bothered to correct it

How is this not annoying? Is there also a GUI DM on some TTY  (that does not exhibit this) or

( I do not use a graphical log manager)

do you autologin somehwhere?

Offline

#4 2026-12-02 10:32:44

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,613

Re: Login prompt on TTY1 repeats itself after some seconds, why?

https://wiki.archlinux.org/title/Arch_boot_process#Login wrote:

The login program can display the contents of /etc/motd (message of the day) after a successful login, just before it executes the login shell.

Check if there is an /etc/motd file.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2026-12-02 23:48:19

NuSkool
Member
Registered: 2015-03-23
Posts: 298

Re: Login prompt on TTY1 repeats itself after some seconds, why?

I like to recreate '/etc/issue' on each boot to display dynamic info.

I've discovered when I used the 'display ip address' option, this resulted in repeating the log in prompt.
This was due to a timing issue in the network setup, which changed the ip during boot process.

Do or have you edited '/etc/issue'?


grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 7 8745HS w/ Radeon 780M Graphics
grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 5 PRO 2400GE w/ Radeon Vega Graphics grep -m1 'model
grep -m1 'model name' /proc/cpuinfo : AMD Ryzen 7 PRO 5850U with Radeon Graphics
grep -m1 cpu /proc/cpuinfo                 : MIPS 24Kc V7.4

Offline

#6 Yesterday 06:26:10

NorrisFByrd
Member
Registered: 2026-11-29
Posts: 10

Re: Login prompt on TTY1 repeats itself after some seconds, why?

That repeating prompt drove me nuts on my old ThinkPad for a while. Mine turned out to be a custom line in /etc/issue that kept refreshing, so I would check that first, plus the getty journal like mpan said. In my case the prompt only repeated when the network changed during boot, which was hard to spot at first. If you can log in fine during the repeat, that points to something redrawing the screen rather than a login failure.

Offline

#7 Today 05:50:12

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 704

Re: Login prompt on TTY1 repeats itself after some seconds, why?

It was years? ago I noticed vanilla getty would trigger redraws (reading /etc/issue again) without an actual service restart or login attempt (aside from when a restart actually happened...).

In the event you have yet to determine what causes the spurious redraws and reread of /etc/issue in your particular setup (I didn't have much luck myself), my own personal approach was to add escape codes to /etc/issue for clearing the screen. I already use them for civis or blanking on the minute mark, so adding one for clear wasn't exactly anything new. getty does escapes when it reads /etc/issue.

It is the norm for arch's getty service iirc to clear the screen upon service launch, so...

If you need to determine what escape codes would work on getty, it runs on the linux console (duh) so using tput and setting the TERM to linux (via arg or env variable) then piping to something like xxd or such can give you an idea of what you need (or you can just put the raw data on there too, if that's your preference).


What's up doc?

Offline

Board footer

Powered by FluxBB