Change vCenter Web UI Timeout

August 27, 2018

By default, the vCenter web UI (Flash/Flex or HTML5) will kick users out after a certain period of inactivity.  Usually, at least in my experience, users get kicked multiple times per day.  Here's how to extend that timeout.

Environment: vCenter 6.7

Instructions

  1. SSH into your vCenter appliance
  2. Edit /etc/vmware/vsphere-ui/webclient.properties
    Change the following line from 
    session.timeout = 120

    to

    session.timeout = 600
    1. Note: This value is in seconds. For example, a value of 600 equals 10 hours.
  3. Restart the HTML5 web UI: 
    service-control --stop vsphere-ui
    service-control --start vsphere-ui
  4. Restart the Flash (Flex) web UI: 
    service-control --stop vsphere-control
    service-control --start vsphere-control
  5. Done!

©2024 Tyler Wright