Logout locked Gnome Sessions after Specified Period

Latest response

Is there a way to force logout of a user after their gnome session has been locked for a specified period of time?

This is how it was done in RHEL 6 with gconf:
https://access.redhat.com/solutions/44671

However, RHEL 7 has dconf and these settings no longer apply. I have found how to logout user sessions when the computer has been idle for a specified period of time using the /org/gnome/settings-daemon/plugins/power/sleep-inactive-ac-timeout and
/org/gnome/settings-daemon/plugins/power/sleep-inactive-ac-type keys. However, if the computer is processing data, it will not register as idle to the power plugin and therefore will not log out sessions.

Any guidance is appreciated.

Responses