QXcb connection XCB error 170
I'm running ROS Kinetic on unbuntu 16.04 on a windows 10 machine along with Xming. I've been trying the Moveit! tutorials but when i type:
roslaunch panda_moveit_config demo.launch rviz_tutorial:=true
the rviz logo flashes for less than a second then the window disappears.
I'm getting an error which says QXcb connection XCB error 170
, but then it says you can start planning now! but no window appears.
Please help.
The ros beginner tutorials and turtlesim worked perfectly. So it's not a problem with Xming.