WSL ubuntu command line problem for SITL using flightgear

Hello,

First time Linux user here. I have downloaded wsl2 and followed the SITL procedure till cloning the ardupilot repo from github. I have also managed to download and install latest version of flightgear.
I am stuck on the following issue for a few days now. Any leads are appreciated.

By running fg_plane_view.sh command under ~/ardupilot/Tools/autotest, I get the following error.
By changing the QStandardPaths to 0700 I managed to get rid of the first error. But on reboot it keeps on appearing.

    0.02 [WARN]:gui        QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700
    0.05 [ALRT]:aircraft   Aircraft does not specify a minimum FG version: please add one at /sim/minimum-fg-version
Now checking for plug-in osgPlugins-3.6.5/osgdb_nvtt.so
    2.75 [WARN]:general    Enabling ATI/AMD viewport hack
dbus[23129]: arguments to dbus_connection_set_exit_on_disconnect() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 3149.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted