KBEC-00426 - Running Linux Agent in Interactive mode


If you are running steps that require access to the Linux interactive desktop, run the agent in an interactive session rather than as a service/daemon (which may result in an error similar to “Error: unable to open display localhost:10.0”).


  1. log in to the agent machine
  2. modify the file “runAgent.sh” (default in folder “/opt/electriccloud/electriccommander/bin/”) as following:
    1. comment out the line “unset DISPLAY” (it’s close to the end of the file)
    2. remove “–daemon” in the last line
  3. restart the agent


It’s also important to check if relevant parts (for example, a server process which helps the UI test tool called by the agent) are running by the user which runs the CloudBees CD (CloudBees Flow) agent.

Have more questions?


Please sign in to leave a comment.