Not able to deploy and run SITL

Let come back to that one…

Setup your xwindows server to accept new clients. I think you have done that before?

Then ./Tools/autotest/ -v Copter --console -D --speedup 1 --map

Okay I did this by running

cp ~/.bashrc ~/bashrc_backup_2021_11_Dec

In both /mnt/c/Users/DELL

I then removed the line that you mentioned, save the file and closed it.

1 Like

For this I followed

  1. Opened XLaunch
  2. Selected Multiple Windows
  3. Start no Client
  4. Disable access control : Checked
  5. Next
  6. Finish
1 Like

To run this I did this,

It’s compiling right now. You were right, it’s much faster than running in the windows directory.


Sir got this.

I remember this from the Docs, not sure where I have gone wrong.

ok try adding the LIBGL_ALWAYS_INDIRECT in ~/.bashrc`

export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0

I’ve had one person tell me that was necessary for their setup before

Okay I added this. Looks like this now.

Ran ./Tools/autotest/ -v Copter --console -D --speedup 1 --map
Again, some output

ok I’ve heard a person once needed to use this instead,
export DISPLAY=

This is on wsl2 right?

In a powershell, do this wsl --list --verbose


Wait dont do that I this is an issue

Lets just get on Discord and Screenshare?

Sure, which channel ?

OK after trying many things and fixing a few issues here and there…

The main DISPLAY issue that was not on the Wiki is that you need to “Allow Connections” in “Windows Defender Firewall with Advanced Security” for the XWindows program, VcXsr windows xserver

This is under the Inbound Rules and needs to be allowed for both Private & Public network types