automatic login with screen locked
Submitted by Guilherme Salgado
Link to original bug (#469571)
Description
I often turn on my laptop and go somewhere else while it starts up. When I get back I have to login and wait for the WM to load before I can actually use my computer. Since my laptop has only one user account I'd like to have this account auto logged in so that when I come back I can just start using it. Of course, I don't want exactly that because it means anybody else could drop by and use my laptop with my user account, so the ideal would be to have a way of doing an automatic login /with the screen locked/, so that one can use the computer only after the user provide its credentials.
Would it be possible to implement that in gdm and provide it as an extra option for automatic login on gdmsetup? With some pointers I can probably give it a go.
BTW, for now I got this working with an evil hack --a shell script (run in every session) which starts gnome-screensaver and activates it using gnome-screensaver-command.
Version: 2.18.x