FastX: Gnome Screen Saver Lock

Problem

  • FastX displays a black screen, login window, or screen saver as a screen shot in the session manager.
  • When a user resumes their gnome session, they have to enter their password again to display the desktop.

This occurs when the screen saver is enabled in gnome.

Solution

Disable the screen save in Gnome.

Gnome 3 (RHEL 7)

The following are instructions from Gnome on changing the settings for their screen saver. Please note the first few steps asks to create certain files. These files may already exist on your Red Hat 7 host.

https://help.gnome.org/admin/system-admin-guide/stable/desktop-lockscreen.html.en

Here are the settings to use for the file
/etc/dconf/db/local.d/00-screensaver


# Specify the dconf path
[org/gnome/desktop/session]
# Number of seconds of inactivity before the screen goes blank
idle-delay=uint32 0

# Specify the dconf path
[org/gnome/desktop/screensaver]

# Lock the screen after the screen is blank
lock-enabled=false

# Number of seconds after the screen is blank before locking the screen
lock-delay=uint32 0

Gnome 2 (RHEL 6)

Run the following command to disable the screen saver.

gconftool-2   --direct   --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory  --set /apps/gnome-screensaver/idle_activation_enabled false --type bool

gconftool-2  --direct   --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory   --set /apps/gnome-screensaver/lock_enabled false --type bool

gconftool-2  --direct   --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory   --set /apps/gnome-screensaver/idle_delay 0 --type int

gconftool-2  --direct   --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory   --set  /apps/gnome-screensaver/logout_delay 0 --type int

gconftool-2  --direct   --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory  --set /apps/gnome-screensaver/cycle_delay 0 --type int