Hello everyone!

I daily drive a Nobara install with my main drive being an LUKS encrypted M.2 drive. Every time I boot my computer I get presented with the password prompt to unlock the drive and afterwards get prompted with my login manager to login.

Is there any way to combine these steps into a single prompt? It is starting to get a bit annoying having two steps every time I boot.

    • Epzillon@lemmy.mlOP
      link
      fedilink
      arrow-up
      4
      ·
      8 months ago

      Thank you very much. The DM setting where shuffled a bit in Plasma 6, but I managed to find it under SDDM > Behaviour.

  • Deckweiss@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    I disabled the second login prompt on my KDE archlinux, since the LUKS one already pretty much authenticates me to my Laptop.

    I have no clue which desktop environmen and session manager Nobara uses, but you can probably disable the login password somewhere in the settings.

  • zarenki@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    I tried to do this a while ago with a GNOME system, setting GDM to automatically log me in, but I ended up always getting prompted for my password from gnome-keyring shortly after logging in which seemed to defeat the point. If you use GNOME, you might want to look at ArchWiki’s gnome-keyring page which describes a couple solutions to this problem (under the PAM section) which should be applicable on any systemd distro.

  • kevincox@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    8 months ago

    On NixOS I did this:

    services.displayManager.autoLogin = {
    	enable = true;
    	user = "kevincox";
    };
    
    # Avoid setting up a keyring every time I do a non-auto login.
    # https://gitlab.gnome.org/GNOME/seahorse/-/issues/159
    security.pam.services.login.enableGnomeKeyring = lib.mkForce false; 
    
  • StrangeAstronomer@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    Another approach entirely is to use pam_mount(8) which can automatically mount a disc on login. I use it to mount /home/$USER (obviously this couldn’t be used to mount the root fs !!)