I am following the SITL setup instructions here: Setting up SITL on Linux — Dev documentation
when running ‘sim_vehicle.py -w’ I get the following errors.
Invalid MIT-MAGIC-COOKIE-1 keyxterm: Xt error: Can’t open display: :0
Connect tcp:127.0.0.1:5760 source_system=255
[Errno 111] Connection refused sleeping
Failed to connect to tcp:127.0.0.1:5760 : [Errno 111] Connection refused
SIM_VEHICLE: MAVProxy exited
SIM_VEHICLE: Killing tasks
I’ve seen others with similar issues after ‘-w’ when running ‘sim_vehicle.py --console --map’. Any tips?