This is a combination of getty, login, and xinit for use on Linux console. Has a friendly curses-based prompt. Scroll through valid login names instead of typing it. Will remember last login name, so all you have to type is the password. Will launch X if .xinitrc is present, or a shell otherwise. Can fallback to plain shell if X fails to start.
0.202 Dec 2017 00:04
Create an Xauthority file for each display.
Add more checking for failed X startup.
Redirect X session output to /tmp/user/xsession-errors.
Start X on the same vt as login.
Write a user process entry to utmp and clear it on exit.
Add configure checks for PAM and NCurses.