On Jun 8, 2016, at 4:42 PM, Vanhorn, Mike <michael.vanh...@wright.edu> wrote: > I would like to have my lab workstations logout a session after the person > has been idle for a certain period of time. After some searching on the web, > I got into > > /etc/gconf/schemas/gnome-session.schemas
So, I’ve found that if you want to enforce gconf policies for workstations, you need to put them in /etc/gconf/gconf.xml.mandatory. For example, this is how we set the screensaver to lock: gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ --type bool \ --set /apps/gnome-screensaver/idle_activation_enabled true gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ --type bool \ --set /apps/gnome-screensaver/lock_enabled true gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ --type int \ --set /apps/gnome-screensaver/idle_delay 15 -- Jonathan Billings <billi...@negate.org> _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos