TigerVNC on Mac OS X with homebrew to check why a Screen Sharing.app connection fails.
Posted by jpluimers on 2019/01/18
Two installation options for TigerVNC:
The [WayBack] TigerVNC viewer gives a bit more details on failing VNC connections than the stock OSX Screen Sharing.app does: after performing the logon, the connection would just stall, but TigerVNC would should “write broken pipe (32)” after the logon. Most of the linked search results indicated the VNC server was having a state problem.
So I restarted the VNC server, after which connections could be made again in both tools.
I actually prefer the stock Screen Sharing.app as:
- it has been there forever [WayBack] Access the VNC Client in Mac OS X & Create a Screen Sharing App Shortcut
- it integrates well with OS X
- it is accessible from the command line:
- try
open vnc://192.168.178.55:5900if your VNC server is listening on192.168.178.55:5900 - or have the connection go over SSH (so you’re sure it’s secure), via [WayBack]Kristian Köhntopp – Google+:
TIL that Apple’s “Screen Sharing” app is command-line accessible.
ssh username@hostname -L5910:localhost:5900open
vnc://username:password@localhost:5910
- try
–jeroen






Man said
THIS IS PURE SHIT!
IT IS NOT A VNC SERVER,
IT IS ONLY VNC CLIENT
jpluimers said
I know. Man, that’s why I posted links to both the TigerVNC viewer and server in the first place!