Is there something to do to make it work with bash, too?
/usr/bin/qtlockscreen &
start on started hildon-desktop respawn script exec su - user -c "exec /usr/bin/qtlockscreen" end script