Skip to content

踩坑Robotics Stack Exchange2024-06-02

Gazebo远程服务器如何连接本地GUI ​

本文由 AI 根据公开内容整理,可能有误,请以原文为准:Running Gazebo simulation on a remote linux computer and access the GUI on another computer(Robotics Stack Exchange #111526)

状态:已解决

问题 ​

想在更强的远程无头Linux服务器运行Gazebo仿真后端,并在另一台较弱电脑访问GUI;不想用VNC,尽量避免X11,不清楚新版Gazebo如何分离服务端和客户端。

环境 ​

Gazebo Garden;Ubuntu 22;远程无头Linux服务器;本地较弱Linux电脑,另有Windows电脑。

解决办法 ​

  1. 在远程服务器运行Gazebo服务端:使用gz sim -s。
  2. 在本地电脑运行Gazebo GUI客户端:使用gz sim -g。
  3. 确保两台电脑在同一个LAN中。
  4. 确保两台电脑的环境变量GZ_PARTITION取值相同。

原问题作者:robot_student;采纳答案作者:Martin Pecka。原内容依 CC BY-SA 4.0 授权,本页摘要同样依 CC BY-SA 4.0 授权。

来源

本页事实对应的公开页面,以原文为准。

  1. Robotics Stack Exchange #111526:Running Gazebo simulation on a remote linux computer and access the GUI on another computer访问 2026-10-22