Can you post your debug.log file?
This looks more like a problem with your X server rather than Bitcoin Core.
Yes. I met this before. The problem is X-server
Just updated my ubuntu OS and I'm not able to open my bitcoin core wallet anymore!!!
I get this error:
QXcbConnection: Could not connect to display desktop:0
I have a CLAM coin client that is based on a similar client and it works with no issues
I've googled a bit about it but with no solution!
thx for the support
How to solve:
You need to use an X-server on Jenkins machine to run the GUI program.
Hope it help