There are different tools to do X11 forwarding on Windows one of them Xming it’s small software and very easy to use no need to do any special configuration only run the installation file.
But sometimes you are using this application and try to run the GUI on your desktop or laptop it’s working like you excepted, one simple solution to solve it.
I am using as ssh client Putty, before put the server ip from putty left panel
- Connection > SSH > X11
- Check X11 forwarding: [x] Enable X11 forwarding
- Add to the “X display location” field: localhost:0.0