I tried adding the gsettings command to /usr/sbin/guest-account and ran it manually, i.e.:
$ sudo /usr/sbin/guest-acccount add It gives the error: (process:27140): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied. dconf will not work properly. So the 'su' inside /usr/sbin/guest-account doesn't work in this case. In particular, gsettings is requiring $XDG_RUNTIME_DIR to exist and be set, this doesn't occur until the guest session has logged in. -- 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/951000 Title: disable guest session screen lock using gsettings Status in OEM Priority Project: New Status in “lightdm” package in Ubuntu: Triaged Bug description: bug # 275768 seems to be back in precise. My guest session is locking, when there is no password to unlock. I switched to the guest session from my admin account. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/951000/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

