GNOME Bugzilla – Bug 604250
greeter does not honor disable_restart_buttons configuration option
Last modified: 2013-12-16 20:24:49 UTC
cf. https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/494366 Logged in as root, I run #> sudo -u gdm gconftool-2 --type boolean --set /apps/gdm/simple-greeter/disable_restart_buttons 1 #> sudo -u gdm gconftool-2 -g /apps/gdm/simple-greeter/disable_restart_buttons true After restarting gdm or rebooting the machine, the GDM greeter still shows the shutdown, suspend, and hibernate options and they still work.
Not sure how this relates to #599762
Created attachment 175790 [details] [review] Make gdm respect the disable_restart_buttons gconf setting This patch resolved the issue for me. Feedback appreciated.
This looks correct to me and I see it is still a problem in GDM head.
I actually think this should be okay in head: commit d8a75a806215cf95832de70da7fdb9c7592d697f Author: Ray Strode <rstrode@redhat.com> Date: Wed Sep 15 14:54:17 2010 -0400 Don't show shutdown options when not available The logic for showing the shut down menu was a little iffy before. This is apparently causing issues on solaris, and probably elsewhere. https://bugzilla.gnome.org/show_bug.cgi?id=624298 I don't think attachment 175790 [details] [review] is right. Note, we need to run that code path when it's remote, too, since it's how a Disconnect item gets added.
Review of attachment 175790 [details] [review]: marking rejected since i think the patch isn't quite right and I think the problem was already fixed.