(In reply to P. Otato from comment #9) > (In reply to Josef M�llers from comment #9) > > The question remains as to whether this should be added to sddm only or > > should be put into common-auth and common-session! > > As it stands, this will only solve the issue when logging in through sddm, > > but not if eg the user logs in through ssh. > > > > My suggestion in Bug 954419 was to put the line > > auth optional pam_mount.so > > into common-auth and the lines > > session optional pam_cryptpass.so > > session optional pam_mount.so > > so they are available to all aplications, not just sddm. > > (In reply to Josef M�llers from comment #8) > > The last two lines should be put into common-session! > > I tried your suggested solution and I am able to login but the encrypted > home directory is not unmounted after logout. I just set up my Leap42.3 VM to mount an unencrypted data directory into my user's HOME directory and it was mounted when I first logged in and umounted when I last logged out again. I have "<mkmountpoint enable="1" remove="true" /> in /etc/security/pam_mount.conf.xml and my ~/.pam_mount.conf.xml has, effectively, only this one line: <volume options="nodev,nosuid" user="*" mountpoint="/home/josef/MPGs" path="/mnt/Videos" server="firefly" fstype="nfs" /> Can you 1) enable debug in /etc/security/pam_mount.conf.xml: -<debug enable="0" /> +<debug enable="1" /> 2) completely log out of the system 3) Log-in as "root" (or some other user) 4) "su - <testuser>" and immediately log out again Step 4 should give you some (understatement of the month) debug output. Please post the output here.