Comment 3 for bug 636693

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : Re: Redundant lock before launching guest session

@Ted Gould
I'm just a newbie Ubuntu user who have some ideas of customizing the guest session feature.
http://ubuntuforums.org/showthread.php?t=1566078
Please be sure that I'm not prejudiced with respect to where things should be done. ;-)

As far as I understand, everybody does not use indicator-session, and the docs for gdm-guest-session simply suggests that you call /usr/share/gdm/guest-session/guest-session-launch to start a session. As long as you don't force the users to start guest sessions via indicator-session, the gdm-guest-session package seems to be the the right place for the locking code IMO.

The current code in /usr/share/gdm/guest-session/guest-session-launch for locking the screen is simple:
gnome-screensaver-command --lock || xscreensaver-command -lock || true

It appears to me as if improving that code would be an adequate step if, as you indicate, the locking code in indicator-session is better.