Bug 843568

Summary: 'Disable restart buttons' of gdm does not work
Product: Red Hat Enterprise Linux 7 Reporter: Vitezslav Humpa <vhumpa>
Component: gnome-shellAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED WORKSFORME QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: fmuellner, mclasen, pvine, rstrode, vbenes
Target Milestone: beta   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 3.6.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-18 19:25:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vitezslav Humpa 2012-07-26 16:12:49 UTC
Description of problem:
Using the dconf settings, you can enable 'disable-restart-buttons'. GDM login screen doesn't honor that and keeps these 'buttons' available under the top panel menu icon.

Version-Release number of selected component (if applicable):
gnome-shell-3.4.1-5.el7.x86_64
gdm-3.4.1-3.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create a file /etc/dconf/db/gdm.d/99-site-defaults with this content:

[org/gnome/login-screen/disable-restart-buttons]
active=true

2. Run 'dconf update' under root
3. Restart the GDM session
  
Actual results:
The 'restart buttons' are still available

Expected results:
Possibly the entire power of icon is not present on the top panel

Comment 1 Florian Müllner 2012-10-16 20:09:14 UTC
(In reply to comment #0)
> Description of problem:
> Steps to Reproduce:
> 1. Create a file /etc/dconf/db/gdm.d/99-site-defaults with this content:
> 
> [org/gnome/login-screen/disable-restart-buttons]
> active=true

Note that this should read

[org/gnome/login-screen]
disable-restart-buttons=true

It is currently only used in the fallback greeter though, I filed this upstream as https://bugzilla.gnome.org/show_bug.cgi?id=686247.

Comment 2 Matthias Clasen 2012-10-17 21:41:43 UTC
Fixed upstream in 3.6.1.

Comment 3 Vladimir Benes 2013-10-02 12:42:16 UTC
If I disable restart button under user, I can still see them in gdm, 

if I set this in /etc/dconf/db/gdm.d/99-site-defaults:
[org/gnome/login-screen/disable-restart-buttons]
active=true

no help

this doesn't work either:
[org/gnome/login-screen]
disable-restart-buttons=true

Comment 4 Matthias Clasen 2013-10-31 21:56:29 UTC
Indeed, it is not working with gnome-shell 3.8

Comment 5 Florian Müllner 2013-11-05 17:48:21 UTC
I've just tested on both Fedora 19 and RHEL 7, and it is working as expected:

# cat > /etc/dconf/db/gdm.d/99-site-settings <<EOT
>[org/gnome/login-screen]
>disable-restart-buttons=true
>EOT
# dconf update
# systemctl restart gdm.service