SaadRana17 / 4-Wheel-Differential-Drive-Robot-Using-Dockers

Don't have ubuntu?
1 stars 0 forks source link

vnc entered FATAL state, too many start retries too quickly #1

Open SaadRana17 opened 2 weeks ago

SaadRana17 commented 2 weeks ago

docker run -it -p 6080:80 -v ~/development/ros-docker-tutorials --name foxy_vnc --security-opt seccomp=unconfined --shm-size=512m aaids2024/ros2-desktop-vnc:foxy

however when I restart the container it says

2024-06-21 17:25:29 set default password to "ubuntu" 2024-06-21 17:25:29 source /opt/ros/foxy/setup.bash 2024-06-21 17:25:29 source /usr/share/colcon_argcomplete/hook/colcon-argcomplete.bash 2024-06-21 17:25:31 2024-06-21 12:25:31,053 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing 2024-06-21 17:25:31 2024-06-21 12:25:31,055 INFO Set uid to user 0 succeeded 2024-06-21 17:25:31 2024-06-21 12:25:31,074 INFO RPC interface 'supervisor' initialized 2024-06-21 17:25:31 2024-06-21 12:25:31,074 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2024-06-21 17:25:31 2024-06-21 12:25:31,075 INFO supervisord started with pid 96 2024-06-21 17:25:32 2024-06-21 12:25:32,097 INFO spawned: 'novnc' with pid 102 2024-06-21 17:25:32 2024-06-21 12:25:32,107 INFO spawned: 'vnc' with pid 104 2024-06-21 17:25:32 2024-06-21 12:25:32,727 INFO exited: vnc (exit status 1; not expected) 2024-06-21 17:25:34 2024-06-21 12:25:34,049 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-06-21 17:25:34 2024-06-21 12:25:34,061 INFO spawned: 'vnc' with pid 143 2024-06-21 17:25:34 2024-06-21 12:25:34,593 INFO exited: vnc (exit status 1; not expected) 2024-06-21 17:25:36 2024-06-21 12:25:36,612 INFO spawned: 'vnc' with pid 167 2024-06-21 17:25:37 2024-06-21 12:25:37,134 INFO exited: vnc (exit status 1; not expected) 2024-06-21 17:25:40 2024-06-21 12:25:40,166 INFO spawned: 'vnc' with pid 191 2024-06-21 17:25:40 2024-06-21 12:25:40,674 INFO exited: vnc (exit status 1; not expected) 2024-06-21 17:25:41 2024-06-21 12:25:41,678 INFO gave up: vnc entered FATAL state, too many start retries too quickly

SaadRana17 commented 2 weeks ago

For this solution is,

On the terminal

docker start foxy_vnc docker exec -it foxy_vnc bash rm -f /tmp/.X1-lock rm -f /tmp/.X11-unix/X1

Restart the docker container

SaadRana17 commented 2 weeks ago

https://github.com/Tiryoh/docker-ros2-desktop-vnc/issues/131#issuecomment-2184156856