[CentOS] setting up auto logout in CentOS 6
Jonathan Billings
billings at negate.orgThu Jun 9 11:41:42 UTC 2016
- Previous message: [CentOS] setting up auto logout in CentOS 6
- Next message: [CentOS] setting up auto logout in CentOS 6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Jun 8, 2016, at 4:42 PM, Vanhorn, Mike <michael.vanhorn at 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 <billings at negate.org>
- Previous message: [CentOS] setting up auto logout in CentOS 6
- Next message: [CentOS] setting up auto logout in CentOS 6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list