In Oracle Linux Server release 7.1 I would like to achieve the following:
1 Prevent the screen going blank when no-one is logged in.
2 Prevent the screen going blank when any user is logged in.
I know that these features are desirable for a variety of good reasons (security, power saving, prolonging life of hardware). However these features are undesirable in the environment I expect to deploy to. There have been similar queries posted before but for other releases and not necessarily providing a definitive answer.
1 Is it at all possible to prevent the login screen (no user logged in) from blanking?
I have tried many things suggested on web but none seem to work, including
xorg.conf.d/ file to set DPMS serverflags
The X log file acknowledges the settings have been read and xset
Does not appear to be case of DPMS re-enabling itself - as reported in some forums.
/org/gnome/desktop/session and /org/gnome/desktop/screensaver keys
Bearing in mind the need to use /etc/dconf/db files, not dconf/dconf-editor/gsettings because these commands affect 'user' databases and, though you may be able to change a value, it will have no effect (but neither does editing files in /etc/dconf/db apparently).
dconf update has been performed after any change.
2 Is it possible to set a default of no screen blank for all existing users and new users as they are created?
Whilst it is relatively simple to disable the screensaver on a per user basis
Settings -> Power -> Power Saving -> Never
I'm expecting to use /etc/dconf/db/*/locks to prevent users changing the settings so can't expect them to change their settings manually.
(n.b. users are not prevented from attempting changes, just that the changes are not saved, which is confusing at first)
But all attempts in using files in /etc/dconf/db/*/ to set a default of "Never"
idle-delay=uint32 0
followed by
dconf update
seem to be ignored. The default 5 minutes timeout persists.
Have modified /etc/dconf/profile/gdm to comment out all but 'system-db:gdm', and the ibus and user files to exclude 'user-db:user' entries force use of gdm entries and/or ignore user entries. This seems to have no effect.
Given that there a multiple databases, how does one query the settings in effect rather than the users private data?
I do not believe the hardware has any bearing on this. Currently using Dell XPS 2720 AIO (though this might change). BIOS appears not to have any settings that indicate power saving.
Thanks...