Hi!
I have a remote build-machine with Jenkins and I'm trying to run GUI application written in Qt 5 (my version is 5.2.1). In Jenkins I installed Xvnc plugin, which uses TightVNC Server, but each build has failed.
Earlier, there was a problem with loading driver swrast (by libGL), currently in the log there are this lines:

Qt Code:
  1. Xlib: extension "RANDR" missing on display ":51".
  2. (...)
  3. Xlib: extension "GLX" missing on display ":51".
  4. Terminating xvnc.
  5. $ vncserver -kill :51
  6. Killing Xtightvnc process ID 22513
To copy to clipboard, switch view to plain text mode 

When I changed system to use Xvnc4server instead of tightvncserver, the output is:

Qt Code:
  1. [Warning] QXcbConnection: Failed to initialize XRandr
  2. [Warning] Qt: XKEYBOARD extension not present on the X server.
  3. (...)
  4. [Warning] Unrecognized OpenGL version
  5. [Warning] Unrecognized OpenGL version
  6. Terminating xvnc.
  7. $ vncserver -kill :47
  8. Killing Xvnc4 process ID 26522
To copy to clipboard, switch view to plain text mode 

Remote desktop is Ubuntu 14.04 running over VirtualBox, so I installed VBoxAddons but it didn't resolve the problem. Below I'm putting some logs, maybe helpful for you.

Qt Code:
  1. $ cat /var/log/Xorg.0.log | grep GL -is
  2. [266219.686] (II) LoadModule: "glx"
  3. [266219.686] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/extensions/libglx.so
  4. [266219.687] (II) Module glx: vendor="Advanced Micro Devices, Inc."
  5. [266219.687] Loading extension GLX
  6. [266219.687] (==) Assigned the driver to the xf86ConfigLayout
  7.  
  8.  
  9. $ lsmod | grep box
  10. vboxsf 43786 0
  11. vboxpci 23194 0
  12. vboxnetadp 25670 0
  13. vboxnetflt 27613 0
  14. vboxdrv 339502 3 vboxnetadp,vboxnetflt,vboxpci
  15. vboxvideo 12658 0
  16. vboxguest 248441 8 vboxsf
  17. drm 302817 1 vboxvideo
  18.  
  19. $ lspci | grep VGA
  20. 00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
  21.  
  22. $ glxinfo
  23. Error: unable to open display
To copy to clipboard, switch view to plain text mode 

I found informations about warning " Unrecognized OpenGL version" as a bug in older Qt versions, but what is solution for my problem?