You are not logged in.

#1 2021-08-26 16:28:19

rathernot
Member
Registered: 2019-08-04
Posts: 6

How to login/decrypt at the same time?

I partiones and encrypted my hard drive with luks and everytime I boot into Arch, I have to type in first the hard drive password before I see the username/password prompt!

My question is: How to do this at the same time? How is Arch structured in this regard? I saw this suggestion (https://wiki.archlinux.org/title/Dm-cry … g_at_login) but I assume this is too late, since I have to decrypt BEFORE I even see the login prompt!

Can someone shed light on this? I barely find people wanting to do this, which makes me wonder why this is such a uncommon request?

Offline

#2 2021-08-26 17:14:00

SimonJ
Member
From: Spain
Registered: 2021-05-11
Posts: 361
Website

Re: How to login/decrypt at the same time?

I setup this up with autologin, so I enter the decrypt password and wait for the desktop. If I lock or suspend I get the login window instead.


Rlu: 222126

Offline

#3 2021-08-27 17:12:21

kaaripingviini
Member
Registered: 2021-08-21
Posts: 2

Re: How to login/decrypt at the same time?

If you're using GNOME, you can setup automatic login on boot by adding this to your /etc/gdm/custom.conf :

# Enable automatic login for user
[daemon]
AutomaticLogin=username
AutomaticLoginEnable=True

Where username would be the user you want to enable automatic login as.

Source: https://wiki.archlinux.org/title/GDM#Automatic_login

Offline

Board footer

Powered by FluxBB