Automatic logout

Hello,
I have this issue on a new server I just built. It is a RHEL 6.7 build. I use VNC to connect to the server from my windows machine. When I login to the Server in morning using VNC I get this error: "Automatic logout, this session is configured to log out after a period of inactivity. I then have to kill and restart the VNC secession to use VNC. It seems that the server has a setting that is logging me out. How to disable this auto logout behavior.

Thanks