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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/951000

Title:
  disable guest session screen lock using gsettings

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/951000/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to