Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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