Comment 5 for bug 1264563

Revision history for this message
Robert Ancell (robert-ancell) wrote :

"switch-to-greeter" does not set the lock hint because it is not the same as "lock" which does set the hint.

You should use "switch-to-greeter" when you want to switch to another session. The greeter should display in an appropriate way for the user to be able to select any other user account and log into a new session. As a side-effect, the existing session becomes locked but this should not be visible to the user.

You should use "lock" when you want to make the computer inaccessible without a password. The greeter should detect the lock hint and display the greeter in an appropriate way so it is easy for the returning user to enter their password and return to their session. The greeter can decide if it will also allow switching to another session.