Unable to run Web UI tests on a remote agent on Linux

When you run Web UI tests on a remote agent that runs on Linux, the browser fails to launch.

Cause

Browser launch is prevented when the remote agent runs as root or sudo.

Resolution

To resolve this issue, you must perform the following steps after you have installed the remote agent:
  1. Stop the agent.
  2. Start the agent as the logged in user by performing the following steps:
    1. Open a terminal on Linux.
    2. Enter the following commands:

      /opt/HCL/HCLOneTest/Majordomo/

      sudo ./MDStop.sh

      ./MDStart.sh