Fast-DDS-monitor
Fast-DDS-monitor copied to clipboard
fail to run monitor image (qt related)
Hi,
when I was trying to use monitor by docker run -it --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ubuntu-fastdds-monitor:v1.4.0
docker run -it --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ce15f448edf4
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.
/root/entrypoint.bash: line 61: 28 Aborted /bin/bash -c "$FULL_CMD"
I got this error msg which seems related to gui issue. When looked around others solved this issue by adding --no-ceritfication
at the end, which not works for me.
System: Ubuntu 22.04 Monitor version: 1.4.0
Hi, try to add in terminal:
xhost +local:root
or
xhost +
Hi, try to add in terminal:
xhost +local:root
orxhost +
Hi @argolomb,
➜ xhost +
access control disabled, clients can connect from any host
Or
➜ xhost +local:root
non-network local connections being added to access control list
then execute docker run ...
, and got the same error as before, seems not work for me.