Did you ever find a solution for this? I’m currently facing the same issue. We’re running our tests on BrowserStack, so there’s no need for a desktop gui on our CI server!
I had the same problem when trying to execute Katalon in console mode using a cron job with no user logged in. The only way I found to fix the problem was by using xvfb-run. More details:
I am also facing same problem in remote server (Ubuntu)
Bug: java.awt.AWTError: Can’t connect to X11 window server using: 10.0 as the value of the DISPLAY variable.
I am also facing same problem in remote server (Ubuntu)
Bug: java.awt.AWTError: Can’t connect to X11 window server using: 10.0 as the value of the DISPLAY variable.
Please provide a solution for this error.
sudo apt-get install xvfbxvfb-run [your command]Solved the problem. Thanks