I start KDE with startx on tumbleweed, everything works except that kwallet asks for my password when I launch discord or other apps. I installed pam_kwallet and made sure that my user password is identical to my kwallet password. Anyone knows how I could fix this?

My xinitrc seems to be sourced from /usr/libexec/xinit/xinitrc by default

  • UnfortunateShort@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    10 months ago

    You could go passwordless. If you go into System Settings > KDE Wallet > Access Control (tab) you can tell Plasma to show a prompt for access attempts. Then click on “Launch Wallet Manager”, there open the wallet and select “Change Password”. Leave it blank and confirm. Your wallet is now prompting you when an app wants to access it (for the very first time, not after you granted access once). No password is required ever.

  • Gravitywell@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    10 months ago

    Easiest solution is to install a login manager like sddm, then it should “just work” on your login, startx doesnt do all the same things a proper DM would do.

    You might be able to have wallet ask for your password just once after login using startx, or you might have an easier time using gnome -keyring, but either way I don’t think unlocking it with pam is an option for the startx method

    • Fredol@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      I really like booting to a terminal and only starting X if I need it, that’s why I do it.

      • Fushuan [he/him]@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        I use gnome, but I do boot to a terminal and start by starting the gdm service that autologins me. You might be able to launch kde using plasmastart-x11/wayland, would that make a difference?