Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Employee
97 Views

GUI enabling on OpenVINO Docker

Hi,

Does anyone have BKM for GUI enabling on OpenVINO Docker container?

OpenVINO Docker container has been stably running, how to display picture/video..etc. such GUI enabling BKC has been investigating.

Thanks!

BR/Kobu

0 Kudos
2 Replies
Highlighted
Employee
97 Views

Hi, 

If you are running it on a Linux host, you need to forward the X11 over SSH. 

The X server on the host should be enabled for remote connections (note that this turns off access control):
 

xhost +

Then you can run your container:
 

sudo docker run --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw" <DOCKER_IMAGE_NAME>

 

Note that the container is using the same host network, so ports are the same, exports the $DISPLAY variable to the container and binds the Xauthority file.

You can also do this in your docker-compose.yml. Take a lookat this github repository where I did that: 

https://github.com/mateoguzman/openvino-docker

Hope this helps,  

Mateo 

0 Kudos
Highlighted
Employee
97 Views

Hi Mateo,

Thanks for your comments, let me try.

BR/Kobu

0 Kudos