Change vCenter Web UI Timeout

Here's how to change the default web UI timeout for vCenter's web UIs (Flash/Flex and HTML5). (Default is two hours)

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
    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!

Share Tweet Send
0 Comments
Loading...