RobotCodeLab / ros2-vnc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ros2-vnc

Extends this

I build with

docker build . -t foxy:vnc

I run the docker with:

docker run --shm-size=256m -it -p 5901:5901 -e VNC_PASSWD=123456 --name foxy-vnc foxy:vnc

Then access it with:

http://localhost:5901/?password=123456

On OSX, Use a two-fingered tap to "right click"

Once you start this, you'll see a mostly blank looking vnc window. You can either right click to access the menu and open a terminal, OR, if you don't have an right click (Apple hardware I'm looking at you):

You can then start another docker container:

docker exec -it foxy-nvc bash source ROS:w

source /opt/ros/fox/setup.bash

set the display environment variable:

export DISPLAY=:0

About


Languages

Language:Dockerfile 80.6%Language:Shell 19.4%