You'll want to make sure clipboard sharing is enabled too. This way you can share clipboard data from WSL and Windows.
My VcXsrv config is public on GitHub at: https://github.com/nickjj/dotfiles/blob/master/c/Users/Nick/...
Putting it in that directory sets VcXsrc to start when Windows boots up. You would just replace "Nick" with your Windows user name and put it in that path. Then you never have to worry about starting VcXsrv ever again.
Also if anyone is using both WSL 2 and WSL 1, you need to set different values for DISPLAY depending on which version you use.
My .bashrc handles this at: https://github.com/nickjj/dotfiles/blob/385007837ab787a2be2e...