Connect Jenkins to X

Check your display number

ps -ef|grep Xvfb

00:00:00 Xvfb :99 -ac -screen 0 1280x1024x24

as here it is 99

in your Jenkins script use this as display number
export DISPLAY=:99

reference doc: xvfb(1): virtual framebuffer X server for X - Linux man page
you can control how the xfvb is started.
how to actually do it, depends if you are using jenkins xfvb plugin, or do you start/pass the options via third-party scripts.
however make note that the $DISPLAY value should match in both, the daemon launching script and in your katalon execution script.

@Russ_Thomas i think this has been posted by mistake in the ‘katalon recorder’ section.
can you please move it to the right location? is related to running katalon studio via jenkins, using xfvb driver

A post was merged into an existing topic: Jekins run canot connect X in my test server (Linux Red Hat)