setting up auto logout in CentOS 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

and set the default value of max_idle_action to “forced-logout”:

     <schema>
          <key>/schemas/desktop/gnome/session/max_idle_action</key>
          <applyto>/desktop/gnome/session/max_idle_action</applyto>
          <owner>gnome</owner>
          <type>string</type>
          <default>forced-logout</default>
          <gettext_domain>gnome-session-2.0</gettext_domain>
          <locale name="C">
             <short>The action to take after the maximum idle time</short>
             <long>The name of the action to take when the maximum allowed idle time has been reached. The Delay is specified in the "max_idle_time" key. Allowed values are: logout, forced-logout. An empty string disables the action.</long>
          </locale>
      </schema>

but the system is not logging me out after the max_idle_time. Is there something I’m missing?

Thanks!

---
Mike VanHorn
Senior Computer Systems Administrator
College of Engineering and Computer Science
Wright State University
265 Russ Engineering Center
937-775-5157
michael.vanhorn@xxxxxxxxxx

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux