You are not logged in.

#1 2020-11-02 06:10:51

MuddyArch
Member
Registered: 2020-08-18
Posts: 34

[Solved] Autologin help

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

#2 2020-11-02 06:23:13

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] Autologin help


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2020-11-02 07:37:28

MuddyArch
Member
Registered: 2020-08-18
Posts: 34

Re: [Solved] Autologin help

Unfortunately that is the method that resulted in the blinking failure.

Offline

#4 2020-11-02 08:08:05

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,267

Re: [Solved] Autologin help

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

#5 2020-11-02 23:48:50

MuddyArch
Member
Registered: 2020-08-18
Posts: 34

Re: [Solved] Autologin help

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

Board footer

Powered by FluxBB