Simple Login Program is a replacement for getty and login.
- Focus the TTY
- Set command to run on successful login
- Clear screen after failed attempt
- Set title above the prompt
- Predefine a username
$ make
$ make install
$ make uninstallCreate a drop-in configuration for chosen getty instance and specify options.
In order for --focus to work, the getty service must be enabled.
# /etc/systemd/system/[email protected]/slop.conf
[Service]
# Empty ExecStart clears the previous value.
ExecStart=
ExecStart=slop -u test_user -t Title -c startx --focus