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:
No protocol specified
(myApp:6080): Gtk-WARNING **: cannot open display: :0
No protocol specified
(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:
No protocol specified
No protocol specified
libEGL warning: DRI2: xcb_connect failed
No protocol specified
libEGL warning: DRI2: xcb_connect failed
No protocol specified
No protocol specified
libEGL warning: GLX: XOpenDisplay failed
07:30:34.553 [Warning] Could not initialize egl display
07:30:34.554 [Error] EGL error
Aborted (core dumped)
No protocol specified
No protocol specified
libEGL warning: DRI2: xcb_connect failed
No protocol specified
libEGL warning: DRI2: xcb_connect failed
No protocol specified
No protocol specified
libEGL warning: GLX: XOpenDisplay failed
07:30:34.553 [Warning] Could not initialize egl display
07:30:34.554 [Error] EGL error
Aborted (core dumped)
To copy to clipboard, switch view to plain text mode
when I'm logged on "jenkins", and:
07:31:49.580 [Warning] Opened display 0x15283b0
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 13
Current serial number in output stream: 13
07:31:49.580 [Warning] Opened display 0x15283b0
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 13
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:
07:32:35.076 [Warning] WARNING: The web process experienced a crash on ''.
07:32:35.077 [Warning] WARNING: The web process experienced a crash on ''.
07:32:35.082 [Warning] This plugin does not support createPlatformOpenGLContext!
07:32:35.083 [Warning] QtQuick: failed to create OpenGL context
07:32:35.076 [Warning] WARNING: The web process experienced a crash on ''.
07:32:35.077 [Warning] WARNING: The web process experienced a crash on ''.
07:32:35.082 [Warning] This plugin does not support createPlatformOpenGLContext!
07:32:35.083 [Warning] QtQuick: failed to create OpenGL context
To copy to clipboard, switch view to plain text mode
Bookmarks