When I'm using the "-platform minimal", my GUI app starts over SSH, but only for one user. If I'm logged on "jenkins" user:
Qt Code:
  1. No protocol specified
  2.  
  3. (myApp:6080): Gtk-WARNING **: cannot open display: :0
To copy to clipboard, switch view to plain text mode 
I did "xhost +localhost", but it didn't resolve the problem.

Running with "platform -minimalegl" causes:

Qt Code:
  1. No protocol specified
  2. No protocol specified
  3. libEGL warning: DRI2: xcb_connect failed
  4. No protocol specified
  5. libEGL warning: DRI2: xcb_connect failed
  6. No protocol specified
  7. No protocol specified
  8. libEGL warning: GLX: XOpenDisplay failed
  9. 07:30:34.553 [Warning] Could not initialize egl display
  10.  
  11. 07:30:34.554 [Error] EGL error
  12. Aborted (core dumped)
To copy to clipboard, switch view to plain text mode 
when I'm logged on "jenkins", and:
Qt Code:
  1. 07:31:49.580 [Warning] Opened display 0x15283b0
  2.  
  3. X Error of failed request: BadRequest (invalid request code or no such operation)
  4. Major opcode of failed request: 155 (GLX)
  5. Minor opcode of failed request: 19 (X_GLXQueryServerString)
  6. Serial number of failed request: 13
  7. Current serial number in output stream: 13
To copy to clipboard, switch view to plain text mode 
on a second user.

And one more thing: When I'm running from non-jenkins user with "-platform minimal" it looks ok, but after [Ctrl]+[C] (to stop application), I see on the console:
Qt Code:
  1. 07:32:35.076 [Warning] WARNING: The web process experienced a crash on ''.
  2. 07:32:35.077 [Warning] WARNING: The web process experienced a crash on ''.
  3. 07:32:35.082 [Warning] This plugin does not support createPlatformOpenGLContext!
  4. 07:32:35.083 [Warning] QtQuick: failed to create OpenGL context
To copy to clipboard, switch view to plain text mode