Attached is a patch (against Oneiric's lightdm) which adds this feature. -- Kind regards, Loong Jin
** Patch added: "12_Add_show-guest_config_option_to_SeatDefaults.patch" https://bugs.launchpad.net/bugs/942792/+attachment/2792120/+files/12_Add_show-guest_config_option_to_SeatDefaults.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/942792 Title: lightdm should allow guest session to be disabled at the login page while retaining the ability to allow the guest session to be activated from another user's session Status in “lightdm” package in Ubuntu: New Bug description: Currently, the only way to disable the guest session in lightdm is to set allow-guests=False in /etc/lightdm/lightdm.conf. However, setting this causes the Switch to guest user option to vanish from the power cog within a logged-in user's session. There should be an option to allow an already logged-in user to spawn a guest session, rather than completely disabling it. Use case: John has a laptop he does not want unauthorized users using. On the other hand, when a friend asks to use his laptop, he does not want to allow his user account to be used. In the current situation: If John enabled allow-guests=True, in lightdm.conf, then: - if the laptop is on, but with the screen locked, an unauthorized user can click "Switch User" to return to the lightdm greeter and select the Guest user. - if the laptop is off (and does not have a dm-crypt root setup), an unauthorized user can log into the Guest account. However, if allow-guests is disabled, then John will not be able to spawn a guest session for his friends to use when the need arises without needing to restart lightdm. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/942792/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp