Post by RobH Post by RobH
ssh 192.168.0.40 -p 6053
ssh: connect to host 192.168.0.40 port 6053: Connection refused
I'm about ready to give up on all this before long.
Interestingly, or not, on 3 ubuntu machines I have, the connection to
port 6053 is refused.
The link below says it is used for X Window system, which is for bitmap
displays according to the wikipedia page.
Xorg starts at port 6000. And each succeeding DISPLAY
is on the next port. There really should be an upper limit
on how many of those (consecutive block) are defined.
"Traditional X11 via 6000–6063/tcp is still a perfectly valid
approach on a private network, combined with xauth(1) (try to
avoid xhost(1), which really is a bit insecure). See also Xsecurity(7).
MIT-MAGIC-COOKIE-1 isn't anything like a strong as ssh(1), but
quite adequate for many use cases over private networks. It is
only a generally bad idea to expose 6000 to untrusted networks,
and can be a perfectly reasonable idea in other cases, as long
as you take the time to consider the risks."
Another thread mentioned that Xorg no longer listens on 6000
for some reason. Who knows what it's really doing right now :-)
Xorg is probably mining bitcoins :-)
Nobody needs DISPLAY=:63, so really such a large block is a waste.
I think I used DISPLAY=:1 or :2 or so, but that was it. I played
with XMX at one time. Hard to remember the details now.