any apps which will auto-logout users from x-windows after sometime of inactivity for RHEL 5.xx for 32/64bit?

Thanks for any info