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

Question: delay or prevent login for an short period after locking screen #85

Open
Sylvain303 opened this issue Sep 1, 2016 · 1 comment

Comments

@Sylvain303
Copy link

I'm programming a sort of "go away from your computer" program. https://github.com/Sylvain303/timesup

I'm developing it for myself to make some forced breaks. I'm asking if I could lock the computer for a short period, say 5 min, with impossible to login. (yes of course some backdoor would be possible, console login for example).

Could also be solved by #71, by relocking immediately the computer.

Is there some possible way to not pop the lightdm login prompt or some other temporary deny behavior?

@Sylvain303 Sylvain303 changed the title Question: delay or prevent loggin for an short period after locking screen Question: delay or prevent login for an short period after locking screen Sep 1, 2016
@cavalier38
Copy link
Contributor

Light-locker doesn't have that intent. And will spawn the greeter when it locks. What you could do is add a unlock ignore timer. During this timer light-locker should ignore the unlock calls from LightDM and it should send you back to the greeter.

Maybe LightDM support temporary lock out. LightDM uses PAM, I'm not that familiar with PAM, but it might be able to do this. Also PAM should be able to print a message to the greeter explaining there is currently a lock out period.

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

No branches or pull requests

2 participants