I've already gone through X11 Not Forwarding over SSH ($DISPLAY not getting set) and How to forward X over SSH to run graphics applications remotely? and am still getting my problem.
I'm running a pi on my local network and I can ssh into it just fine. When I try to open the remote desktop (x11 forwarding) it fails. I get the error:
19:21:15.111 Added Remote Desktop forwarding rule on 127.0.0.1:51126 to 127.0.0.1:3389. 19:21:15.132 Remote Desktop Connection opened. 19:21:20.124 Failed to open channel for Remote Desktop forwarding from 127.0.0.1:51127 on 127.0.0.1:51126 to 127.0.0.1:3389. Open failure reason: ConnectFailed, description: Connection refused. 19:21:21.650 Remote Desktop Connection closed.
If I try to open a windowed application like Chromium I get this error from the ssh window:
Unable to open X display. As well this error from my ssh client:
13:33:18.880 Failed to open channel for X11 forwarding from 127.0.0.1:59484 to 127.0.0.1:6000. Error connecting to X11 server: FlowSocketConnector: Failed to connect to target address. Windows error 10061: No connection could be made because the target machine actively refused it.