After connecting to a container, sometimes graphical applications fail to launch with errors similar to that below:
$ rviz2
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted (core dumped)
I thought that perhaps it was related to attaching to existing containers, but after some experiments I have been unable to reproduce the error. I will update if I can determine the conditions that cause this.
After connecting to a container, sometimes graphical applications fail to launch with errors similar to that below:
I thought that perhaps it was related to attaching to existing containers, but after some experiments I have been unable to reproduce the error. I will update if I can determine the conditions that cause this.