Fast-DDS-monitor icon indicating copy to clipboard operation
Fast-DDS-monitor copied to clipboard

fail to run monitor image (qt related)

Open botoph4 opened this issue 1 year ago • 2 comments

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

botoph4 avatar May 09 '23 02:05 botoph4

Hi, try to add in terminal: xhost +local:root or xhost +

argolomb avatar Jun 15 '23 15:06 argolomb

Hi, try to add in terminal: xhost +local:root or xhost +

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.

botoph4 avatar Jun 16 '23 01:06 botoph4