Xfce4-notifyd was built without support for your windowing system -- WSL

What have you tried: I have tried running it on windowed mode as well as enhanced mode
I have tried modifying the ~/.bashrc file to include the window.

What is the error: xfce4-notifyd was built without support for your windowing system. Everytime I try to open a new terminal it opens outside of WSL and in the windows environment.

What device is this on: Windows 11 WSL V2

did you install the wsl kernel?

Yes I did. I wiped the computer and ran the exact commands on that link and still have the same issue.

So just found out it works correctly if I sudo kex now I am definitely confused.

WSL is a stripped down Linux environment that allows you to boot up into an almost fully featured one, I’m not surprised it needs sudo, thats for the kex server to connect to the Linux environment and display over vnc

The whole point of WSL is that you are able to use Linux commands inside Windows Powershell.
Powershell has been released for most platforms now, even Linux!