Error launching Mujoco #100
Unanswered
lesmesrafa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I have installed Mujoco simulator (https://mushr.io/tutorials/mujoco/) and all the libraries that are required to run it (
freeglut3-dev
andlibglfw3-dev
), but I get the following error message:`ERROR: Could not initialize GLFW
Press Enter to exit ...xset: unable to open display ":0"
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/root/catkin_ws/src/mushr_sim/scripts/keyboard_teleop", line 20, in run
self.teleop = KeyboardTeleop()
File "/root/catkin_ws/src/mushr_sim/src/mushr_sim/keyboard_teleop.py", line 43, in init
self.root = self.setup_tk()
File "/root/catkin_ws/src/mushr_sim/src/mushr_sim/keyboard_teleop.py", line 46, in setup_tk
root = Tk()
File "/usr/lib/python3.8/tkinter/init.py", line 2270, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":0"
`
also I have tried to execute it without USE_GL 1 but I also get errors.
Does anyone know why this error occurs? (I'm using the docker virtual machine with ROS Noetic)
Beta Was this translation helpful? Give feedback.
All reactions