Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporarily stop authentication on VT switch or screen blank #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kitsunyan
Copy link

Hi!

This patch allows to cancel authentication process on VT switch (Ctrl+Alt+Fx) or DPMS screen blank (I have configured xset dpms 0 0 15 in display-setup script). It will be resumed after switching VT back or screen unblank.

This might be helpful for those who use fingerprint reader for authentication. Fingerprint reader is activated by pam module and it remains taken over until authentication process ends. This leads to 2 problems:

  1. If I switch VT and try to authenticate there, I won't be able to use fingerprint reader for this.
  2. Fingerprint reader's LED is glowing all this time, which is extremely annoying. Of course the reader is active all this time, so it consumes power as well when session is locked.

This feature is optional and should be configured via new stop-on-inactivity configuration option which is disabled by default.

Mini-Greeter will require 2 additional libs: X11 (which actually isn't implied by gtk+-3.0) and Xss (allows to monitor screen blanking).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant