Tuesday, April 7, 2026

distant desktop – Sonoma drawback: not ready to make use of vnc by tunnel on personal community

The configuration I used previously 10 years or so was OK till I upgraded to Sonoma. I do not know what to do to make it work once more.

Right here is the configuration:

macmini@work on public community

macmini@dwelling on personal community

Each with display screen sharing enabled. The command I take advantage of are the next:

    ssh -Nfn -L 5901:127.0.0.1:5900  [email protected]
    open vnc://localhost:5901

The place xxx.xxx.xxx.xxx is the IP deal with of my work macmini (or the router IP once I join from work -> dwelling). From dwelling every little thing is OK as ordinary (I would like to make use of a tunnel as a result of there’s a firewall blocking port 5902) and I connect with my work macmini.

The opposite approach round (work -> dwelling) would not work anymore. The tunnel is OK however I am unable to join (and it isn’t an authentication drawback as a result of my connection is blocked earlier than the standard authentication field seems).

The error I get is a generic localhost connection failed after which provides some suggestion on enabling display screen sharing or distant administration.

Extra info: the router configuration is okay (the router is within the DMZ zone and the SSH port is forwarded to my dwelling macmini and I can connect with my dwelling macmini by way of ssh) and each macmini have the identical sharing configuration. I additionally tried to allow “distant managment” however the issue is similar.

My impression is that the issue is by some means extra stringent safety in Sonoma as a result of once I allow “display screen sharing” in my macmini it says that I can connect with the mac utilizing 192.168.0.100 (which is its IP deal with within the personal community) or by its title. The vnc connection nevertheless arrives by the tunnel and use a distinct title (I attempted each utilizing localhost and 127.0.0.1 however the error is similar). The opposite approach round (dwelling -> work) works as a result of I am utilizing the general public IP deal with which is reported within the “display screen sharing” allowed IP deal with to make use of to attach.

So the query is: is there anyone that had the identical drawback? How did you clear up it? How can I management what allowed IP/NAME can connect with the macmini vnc server?

And at last: what different choice do I’ve if I am unable to connect with my macmini@dwelling by a tunnel? In fact I do not wish to pay 90$ for the Apple Distant Desktop app.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles