[go: up one dir, main page]

Menu

Tree [ca27df] v1.1 /
 History

HTTPS access


File Date Author Commit
 conf 2013-09-03 Mike Sharov Mike Sharov [a2edf5] Add PAM, systemd conf files. Man page.
 docs 2021-04-14 Mike Sharov Mike Sharov [cdd6aa] Move web page to master branch
 .gitignore 2013-08-25 Mike Sharov Mike Sharov [12aa65] Rename to loginx
 Config.mk.in 2020-08-11 Mike Sharov Mike Sharov [36859e] Support lack of pkg-config in configure
 LICENSE 2020-05-23 Mike Sharov Mike Sharov [939cb1] Change license to ISC.
 Makefile 2020-08-11 Mike Sharov Mike Sharov [36859e] Support lack of pkg-config in configure
 README.md 2021-04-14 Mike Sharov Mike Sharov [e621e5] Launch X as root
 config.h.in 2021-05-02 Mike Sharov Mike Sharov [ca27df] Avoid redefining _GNU_SOURCE
 configure 2021-05-02 Mike Sharov Mike Sharov [ca27df] Avoid redefining _GNU_SOURCE
 defs.h 2020-07-10 Mike Sharov Mike Sharov [d3d670] Use /etc/shells to find unusable accounts.
 loginx.c 2020-05-23 Mike Sharov Mike Sharov [a78efe] Build system updates.
 pam.c 2020-05-23 Mike Sharov Mike Sharov [939cb1] Change license to ISC.
 uacct.c 2020-07-10 Mike Sharov Mike Sharov [d3d670] Use /etc/shells to find unusable accounts.
 ui.c 2021-04-15 Mike Sharov Mike Sharov [3c9903] Add terminal reset to ClearScreen
 usess.c 2021-04-14 Mike Sharov Mike Sharov [e621e5] Launch X as root

Read Me

loginx

This is a combination of getty, login, and xinit for use on the Linux
console. A single executable is simpler and can do a few extra things
to require less typing during login.

Features:

  • A curses-based login prompt. A nice thing to have for those of use who
    do not want to use xdm but find getty a little bare.
  • Remembers last login name so you don't have to type it every time. In
    the login dialog press tab, up, or down, to cycle through available
    usernames. Very convenient on a family PC where security is not tight.
  • Will launch X if you have ~/.xinitrc or your login shell otherwise. If
    X fails to start, loginx falls back to the plain shell.

loginx requires PAM, ncurses, and a c11-supporting compiler, gcc 4.6+:

./configure && make install

Use it like you would getty. The command is "loginx tty1", and you'd add
it to inittab, somewhere in rc.d, in a copy of systemd's getty@.service,
or whatever correct location your distribution's init system requires.

make install will by default install loginx@.service to the systemd
system directory. Enable with "systemctl enable loginx@tty1". You may
need to disable getty and display manager first.

Also, you'll need a valid PAM configuration file. make install will
install one that ought to work. If not, copy /etc/pam.d/login to
/etc/pam.d/loginx.