- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mateo,
Thanks for your comments, let me try.
BR/Kobu
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page