[go: up one dir, main page]

Menu

Tree [596363] v0.2 /
 History

HTTPS access


File Date Author Commit
 conf 2013-09-03 Mike Sharov Mike Sharov [a2edf5] Add PAM, systemd conf files. Man page.
 .gitignore 2013-08-25 Mike Sharov Mike Sharov [12aa65] Rename to loginx
 Config.mk.in 2016-12-23 Mike Sharov Mike Sharov [c525e7] Update build system
 LICENSE 2013-08-26 Mike Sharov Mike Sharov [45db0c] Add README and LICENSE for github
 Makefile 2016-12-23 Mike Sharov Mike Sharov [09f7e0] Fix install naming
 README 2017-01-28 Mike Sharov Mike Sharov [a711e4] Mention Xwrapper settings for disabling rootless X
 config.h.in 2016-12-23 Mike Sharov Mike Sharov [946e24] Put xsession-errors in tmp
 configure 2016-12-23 Mike Sharov Mike Sharov [c525e7] Update build system
 defs.h 2013-09-29 Mike Sharov Mike Sharov [c15a94] Write motd and last login after suid
 loginx.c 2017-02-28 Mike Sharov Mike Sharov [6c054d] Create an Xauthority file for each display
 pam.c 2017-01-13 Mike Sharov Mike Sharov [dac8c1] Write shell utmp exit record before cancelling ...
 uacct.c 2017-01-13 Mike Sharov Mike Sharov [dac8c1] Write shell utmp exit record before cancelling ...
 ui.c 2017-01-13 Mike Sharov Mike Sharov [dac8c1] Write shell utmp exit record before cancelling ...
 usess.c 2017-03-11 Mike Sharov Mike Sharov [596363] Log an error when X fails to start and falling ...

Read Me

	+----------+
	|  loginx  |
	+----------+

This is a combination of getty, login, and xinit for use on Linux
console. While it is possible to use those directly, 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.

Installation:

./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.

Rootless X is not supported, so on those systems you need to configure
the wrapper by creating /etc/X11/Xwrapper.config with:
    allowed_users = anybody
    needs_root_rights = yes

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.