dockerイメージを使ったubuntu LinuxのROS2開発環境構築のエラー
解決したいこと
dockerイメージ内の
・Ubuntu 20.04 デスクトップ環境(日本語化済み)
・テキストエディタ VSCodium
・ROS Foxy
(Ubuntu Linux環境)を利用したい
コチラの著書の開発環境を立ち上げ中にエラーが発生しました。
解決方法を教えて下さい。
サポートサイト
https://github.com/AI-Robot-Book/chapter1/tree/main/docker#ubuntu-linux%E3%81%AE%E5%A0%B4%E5%90%88
コチラに環境設定の詳細が書いてあります。
完了していること
・Dockerのインストール
・コンテナの立ち上げ
・localhost:6080にてVNCの立ち上げ
発生している問題・エラー
本来画面下部に表示されるはずのメニューバーが表示されない
変換プログラムの起動に失敗しました。
新しいMozcを利用するためにコンピューターの再起動を行なってください。
該当するソースコード
docker立ち上げ
#/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
docker run \
-e http_proxy=${http_proxy} \
-e https_proxy=${https_proxy} \
-e HTTP_PROXY=${HTTP_PROXY} \
-e HTTPS_PROXY=${HTTPS_PROXY} \
-e RESOLUTION=1920x1080 \
-e PULSE_COOKIE=/tmp/pulse/cookie \
-e PULSE_SERVER=unix:/tmp/pulse/native \
-v /run/user/$(id -u)/pulse/native:/tmp/pulse/native \
-v ~/.config/pulse/cookie:/tmp/pulse/cookie:ro \
--name ai_robot_book \
-p 15900:5900 \
-p 6080:80 \
--shm-size=512m \
--privileged \
$* \
airobotbook/ros2-desktop-ai-robot-book:latest
結果
ログ
Generating 2048 bit rsa key...
ssl_gen_key_xrdp1 ok
saving to /etc/xrdp/rsakeys.ini
2022-09-30 14:58:52,158 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2022-09-30 14:58:52,159 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2022-09-30 14:58:52,173 INFO RPC interface 'supervisor' initialized
2022-09-30 14:58:52,174 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2022-09-30 14:58:52,175 INFO supervisord started with pid 66
Generating a RSA private key
...............................................................................................................+++++
........+++++
writing new private key to '/etc/xrdp/key.pem'
-----
2022-09-30 14:58:53,198 INFO spawned: 'nginx' with pid 72
2022-09-30 14:58:53,208 INFO spawned: 'web' with pid 74
2022-09-30 14:58:53,215 INFO spawned: 'fcitx' with pid 76
2022-09-30 14:58:53,221 INFO spawned: 'xrdp' with pid 78
2022-09-30 14:58:53,225 INFO spawned: 'xrdp-sesman' with pid 79
2022-09-30 14:58:53,233 INFO spawned: 'xvfb' with pid 81
2022-09-30 14:58:53,237 INFO spawned: 'wm' with pid 82
2022-09-30 14:58:53,241 INFO spawned: 'lxpanel' with pid 84
2022-09-30 14:58:53,247 INFO spawned: 'pcmanfm' with pid 88
2022-09-30 14:58:53,252 INFO spawned: 'x11vnc' with pid 89
2022-09-30 14:58:53,258 INFO spawned: 'novnc' with pid 92
2022-09-30 14:58:53,473 INFO exited: wm (exit status 1; not expected)
2022-09-30 14:58:53,612 INFO exited: pcmanfm (exit status 1; not expected)
2022-09-30 14:58:54,226 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-09-30 14:58:54,227 INFO success: web entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-09-30 14:58:54,227 INFO success: fcitx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-09-30 14:58:54,227 INFO success: xrdp entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-09-30 14:58:54,227 INFO success: xrdp-sesman entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-09-30 14:58:54,228 INFO success: xvfb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-09-30 14:58:54,337 INFO success: lxpanel entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-09-30 14:58:54,338 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-09-30 14:58:54,338 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-09-30 14:58:54,511 INFO spawned: 'wm' with pid 184
2022-09-30 14:58:54,762 INFO spawned: 'pcmanfm' with pid 202
2022-09-30 14:58:55,275 INFO Listening on http://localhost:6079 (run.py:87)
2022-09-30 14:58:55,519 INFO success: wm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-09-30 14:58:55,783 INFO success: pcmanfm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
自分で試したこと
dockerのコンテナを削除し再度立ち上げた。
再起動して再度立ち上げた。
0 likes