Bug 867945 - Setting idle_delay key has no effect
Summary: Setting idle_delay key has no effect
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gnome-screensaver
Version: 6.3
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Ray Strode [halfline]
QA Contact: Desktop QE
Depends On:
Blocks: 835616 960054
TreeView+ depends on / blocked
Reported: 2012-10-18 15:55 UTC by Jiri Koten
Modified: 2018-12-02 18:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-05-10 14:27:40 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Jiri Koten 2012-10-18 15:55:44 UTC
Description of problem:
The screensaver idle time can be changed from Screensaver Preferences but cannot be changed by setting corresponding gconf key idle_delay.

This is specifically problematic with System wide mandatory profile as a user can still change idle time on its own.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. $ gconftool-2 --type int --set /apps/gnome-screensaver/idle_delay 1
2. open Screensaver Preferences
Actual results:
Idle time is not changed to value set in idle_delay

Expected results:
Settings idle_delay key takes effect

Comment 1 RHEL Program Management 2012-12-14 07:29:16 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 2 Chad Vaughn 2013-03-21 18:52:39 UTC
I agree with the original requester.  This inability to lock down the idle_delay setting is a major flaw.  We are required to lock this setting to meet government security requirements.  This is critical and must be fixed in the next release.

Comment 3 Chad Vaughn 2013-03-21 18:54:07 UTC
I can confirm that this still exists in the latest Redhat Enterprise 6.4 release.

Comment 4 Dave Muth 2013-04-13 17:40:00 UTC
The bug still exists. I agree that it's a big problem for U.S. federal government computers and fed contractors.

Comment 7 Mark Hale 2013-04-29 16:21:01 UTC
I had the same problem (w/RHEL 6.4)and it is a documentation issue. I finally downloaded the gnome-screensaver SRPM and examined the source code to resolve the issue:

[root@elocoslinsec src]# grep -i gnome_session_dir  gnome-screensaver-preferences.c
#define GNOME_SESSION_DIR   "/desktop/gnome/session"
[root@elocoslinsec src]#

As you can see, the idle_delay variable is stored in /desktop/gnome/session, not /apps/gnome-screensaver. The correct command to restrict users to a 15 minute timeout before screen lock is:

# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type int --set /desktop/gnome/session/idle_delay 15 

I have verified that this works. I believe all that needs to be done is to update the RHEL "Security Guide" with this information. Thanks.

Comment 8 Chad Vaughn 2013-05-01 13:55:32 UTC
Thanks Mark!  I confirm that the fix using /desktop/gnome/session as you listed above does lock the idle delay. Thanks for clarifying.

Comment 10 Ray Strode [halfline] 2013-05-10 14:27:40 UTC
sounds like this issue is resolved, so closing. Please reopen if there is further engineering attention required.

Note You need to log in before you can comment on or make changes to this bug.