I have recently been trying to set up pamusb-agent to lock my computer when a usb is removed, and prompt for a password when it is reinserted. However it is currently locking fine, but not unlocking properly.
Upon removal of the usb it will lock, however when reinserted it does noting, and will not allow me to use my password on the lock screen to unlock the computer. If I use switch user and log back in that way it works fine and I get the error message from the lock screen which is <code> Authentication failed for device ubuntu. Keeping user "jarrah" locked down.
what can I do to make this work automatically?