Chapter 8. Customize login
Do one of these now if we are going to be physically logging in to the computer as a workstation.
-
Set automatic login
Automated login with getty included in systemd.
sudo systemctl edit getty@tty1This should create/etc/systemd/system/getty@tty1.service.d/override.conf. Overwrite it withcp ~/Dropbox/Basic/new_machine/linux/sway/getty_override.conf /etc/systemd/system/getty@tty1.service.d/override.confNote
override.conf[Service] ExecStart=-/usr/sbin/agetty --autologin s --noclear %I $TERM
Warning
Use only with encrypted hard drive and single-user computer.
-
ALTERNATIVE: Change to TUI display manager lemurs
apt install cargo build-essential libpam-dev git clone https://github.com/coastalwhite/lemurs.git cd lemurs ./install.sh sudo emacs /etc/lemurs/wayland/sway [paste in]: #! /bin/sh exec swayWarning
Had problems (no support for displaying password), not currently using this.
-
ALTERNATIVE: change to TUI display manager greetd
Warning
Had problems (what?), not currently using this.
greetdis an alternative to lemurs. Install via instructions. Then disable sddm (this will log out the current session):sudo systemctl disable --now sddm