Closed mlynch-isec closed 11 years ago
This can probably be solved by firing off a thread when the service starts. The thread sleeps for X seconds and then checks if the machine is locked. Question is how to query the lockstate. There is not straightforward function and as a service we don't have UI interaction so I'm not sure we can query for the current desktop.
And to finish that comment.. :) In any case, if the machine is found to be locked, set the lock state accordingly.
Solved. Will be part of large checking at some point.
yontma should handle the case where the machine is booted up, but the user has not yet logged in. It might already handle this, but we need to verify.