Chapter 8. Customize login

Do one of these now if we are going to be physically logging in to the computer as a workstation.

  1. Set automatic login

    Automated login with getty included in systemd. sudo systemctl edit getty@tty1 This should create /etc/systemd/system/getty@tty1.service.d/override.conf. Overwrite it with cp ~/Dropbox/Basic/new_machine/linux/sway/getty_override.conf /etc/systemd/system/getty@tty1.service.d/override.conf

    Note

    override.conf

    [Service]
    ExecStart=-/usr/sbin/agetty --autologin s --noclear %I $TERM
    

    Warning

    Use only with encrypted hard drive and single-user computer.

  2. 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 sway
                

    Warning

    Had problems (no support for displaying password), not currently using this.

  3. ALTERNATIVE: change to TUI display manager greetd

    Warning

    Had problems (what?), not currently using this.

    greetd is an alternative to lemurs. Install via instructions. Then disable sddm (this will log out the current session): sudo systemctl disable --now sddm