Modern linux distro's don't support (by default) TCP connections to the X11 server.
Instead connections are normally made over unix sockets.
NOTE: This alone is not sufficient to get linux working in most circumstances because X11 generally expects clients to authenticate with a token that the remote system does not have.
(this can be worked around by running xhost +local: to allow non-network local connections without authentication for the lifetime of the current session or permanently by adding to /etc/x\<display number>.hosts)
Modern linux distro's don't support (by default) TCP connections to the X11 server. Instead connections are normally made over unix sockets.
NOTE: This alone is not sufficient to get linux working in most circumstances because X11 generally expects clients to authenticate with a token that the remote system does not have. (this can be worked around by running
xhost +local:
to allow non-network local connections without authentication for the lifetime of the current session or permanently by adding to /etc/x\<display number>.hosts)