Forward X11 failed: Network error: Connection refused
Other answers are outdated, or incomplete, or simply don’t work. You need to also specify an X-11 server on the host machine to handle the launch of GUId programs. If the client is a Windows machine install Xming. If the client is a Linux machine install XQuartz. Now suppose this is Windows connecting to Linux. … Read more