rviz: cannot connect to X server, [rviz-1] process has died [pid 28659, exit code 1
hello,I am doing the experiment with the Husky UGV robot, I suddenly encountered a problem that I've never experienced before. I've also tried the solutions provided in the community such as add the ssh -X
, to address this problem, but it still persists.
My robot computer and remote computer are both running Ubuntu 14.04 and ROS Indigo. Now, I connect to the robot computer using ssh administrator@hostname from the remote computer, and then run the navigation package and then run the roslaunch husky_viz view_robot.launch
. However, I encounter an error as described as the title.
the issue log as the fellowing:
[roslaunch][INFO] 2023-03-29 02:37:01,266: Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
[roslaunch][INFO] 2023-03-29 02:37:01,268: Done checking log file disk usage. Usage is <1GB.
[roslaunch][INFO] 2023-03-29 02:37:01,268: roslaunch starting with args ['/opt/ros/indigo/bin/roslaunch', 'husky_viz', 'view_robot.launch']
[roslaunch][INFO] 2023-03-29 02:37:01,268: roslaunch env is {'ROS_DISTRO': 'indigo', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'SSH_CLIENT': '192.168.1.230 39700 22', 'CPATH': '/home/administrator/MYNT-EYE-SDK-2/wrappers/ros/devel/include:/home/administrator/catkin_ws/devel/include:/opt/ros/indigo/include', 'LOGNAME': 'administrator', 'USER': 'administrator', 'HUSKY_DESCRIPTION': '/opt/ros/indigo/share/husky_description/urdf/description.xacro', 'ROS_PACKAGE_PATH': '/home/administrator/MYNT-EYE-SDK-2/wrappers/ros/src:/home/administrator/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks', 'ROS_HOSTNAME': '192.168.1.5', 'PATH': '/opt/ros/indigo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/share/clearpath/bin', 'CMAKE_PREFIX_PATH': '/home/administrator/MYNT-EYE-SDK-2/wrappers/ros/devel:/home/administrator/catkin_ws/devel:/opt/ros/indigo', 'LD_LIBRARY_PATH': '/home/administrator/MYNT-EYE-SDK-2/wrappers/ros/devel/lib:/home/administrator/catkin_ws/devel/lib:/opt/ros/indigo/lib', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'LANGUAGE': 'en_US:', 'SHLVL': '1', 'HUSKY_MAG_CONFIG': '/opt/ros/indigo/share/husky_bringup/config/mag_config_default.yaml', 'ROS_LOG_FILENAME': '/home/administrator/.ros/log/2ddd9946-cddf-11ed-82f0-003018c976e1/roslaunch-a200-0353-28641.log', 'EDITOR': '/usr/bin/vim', 'ROS_ETC_DIR': '/opt/ros/indigo/etc/ros', 'HOME': '/home/administrator', 'XDG_RUNTIME_DIR': '/run/user/1000', 'PYTHONPATH': '/home/administrator/MYNT-EYE-SDK-2/wrappers/ros/devel/lib/python2.7/dist-packages:/home/administrator/catkin_ws/devel/lib/python2.7/dist-packages:/opt/ros/indigo/lib/python2.7/dist-packages', 'ROS_ROOT': '/opt/ros/indigo/share/ros', 'PKG_CONFIG_PATH': '/home/administrator/MYNT-EYE-SDK-2/wrappers/ros/devel/lib/pkgconfig:/home/administrator/catkin_ws/devel/lib/pkgconfig:/opt/ros/indigo/lib/pkgconfig', 'LC_ALL': 'en_US.utf8', 'XDG_SESSION_ID': '1', '_': '/opt/ros/indigo/bin/roslaunch', 'SSH_CONNECTION': '192.168.1.230 39700 192.168.1.5 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'SSH_TTY': '/dev/pts/0', 'ROSLISP_PACKAGE_DIRECTORIES': '/home/administrator/MYNT-EYE-SDK-2/wrappers/ros/devel/share/common-lisp:/home/administrator/catkin_ws/devel/share/common-lisp', 'PWD': '/home/administrator', 'ROS_MASTER_URI': 'http://localhost:11311', 'ROBOT_SETUP': '/etc/ros/setup.bash', 'MAIL': '/var/mail/administrator', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw ...
The following error message is displayed in the terminal:
WARNING: Package name "ErServer" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits and underscores. started roslaunch server http://192.168.1.5:59757/
core service [/rosout] found WARNING: Package name "ErServer" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits and underscores. **
* log file: /home/administrator/.ros/log/2ddd9946-cddf-11ed-82f0-003018c976e1/rviz-1.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done
come on ! Please help me!