You are not logged in.
Pages: 1
I have a LVM on LUKS setup, and I recently wiped my setup. I cannot seem to find a particular article on how to setup up auto login to the tty.
Specifically, I want to type in my password to decrypt my partition and then (without a display manager) get all the way into my Xorg/i3 session. I am not concerned about the startx/xinit phase of this, rather the tty/user login aspect.
I cannot find the page I had used multiple times in the past. I remember setting up a systemd getty.service, as well as editing a different file (sudoers? I can't remember) in /etc to bypass the password. However I could only find a setup for the getty.service and using it only results in a blinking cursor that occasionally stops and restarts tty1. Every page I've looked at on the wiki involved with auto-login stuff hasn't been what I'm looking for, and search engine results are maddeningly only about forgetting root password or not knowing that you need to setup a password in chroot during an install.
I swear it was one line I had to type into a config but I can't seem to find mention of it. Any help is appreciated.
Last edited by MuddyArch (2020-11-02 23:49:56)
Offline
Offline
Unfortunately that is the method that resulted in the blinking failure.
Offline
Points of failure:
- you literally wrote "username"
- you login, but your shell rc does something broken (like attempting to start X11) and that gets you logged out again, resulting in the next autologin/logout cycle resulting in the next …
- generic typos
=> post your override file and your shell rc (likely bashrc)
Online
Username was good, I always double check what the wiki blurb says. My zshrc has been unmodified by me, only the grml file that was placed automatically in my ~/ is what is different. I do not have any startx set up yet. Alas, I cannot show you my override file as I deleted it last night.
However, the issue is solved. I believe the addition of https://wiki.archlinux.org/index.php/Silent_boot#agetty to be the culprit. Although I swear I tried the basic override (referenced by Slithery) and added the silent boot stuff after failing initially. I remember wondering if the skip-prompt/override names would matter but went ahead and gave it a shot because it was already not working. Then again, I was drinking whiskey at the time.
However, recreating a simple override.service is currently working for me. Thank you both for your time.
Offline
Pages: 1