As Tyson mentioned in comment #28, this is a timing issue that
gsettings-data-convert.desktop is executed before gconf value is set for
guest session.

One of workaround to use gsettings is to put a prefs.sh in /etc/guest-
session which does:

echo "[Desktop Entry]\nType=Application\nName=Disable Lock Screen in Guest 
Session\nOnlyShowIn=GNOME;Unity;\n\
X-GNOME-Autostart-Phase=Initialization\nTerminal=false\n\
Exec=gsettings set org.gnome.desktop.lockdown disable-lock-screen 
true\nNoDisplay=true" \
> $HOME/.config/autostart/disable-lock-screen.desktop

chown $USER:$USER $HOME/.config/autostart/*

This will make sure the gsettings value of disable-lock-screen can
always be true for guest session.


** Attachment added: "prefs.sh"
   
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/951000/+attachment/3707106/+files/prefs.sh

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to