When I'm trying to connect to x11vnc server started on Ubuntu 16.10
The "Screen Sharing" app on on OS X 10.11.6 just hangs.
How can I fix this?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
If you want to connect to x11vnc server using "Screen Sharing" app on OS X, you need to tweak the x11vnc starting command:
x11vnc -display :0 -noxrecord -noxfixes -noxdamage -forever -passwd 123456
Building off prior answer, but too long for a comment. In MacOS Big Sur 11.1, I get better performance with this:
x11vnc -display :0 -noxrecord -forever -passwd 123456
-noxdamage, I see both a decrease in drawing latency and far fewer tears when resizing or minimizing windows in x11. Removing
-noxfixes make a much better experience as well, because the cursor displays properly - including when the x11 cursor changes shape (e.g. to resize a window). This is very handy, otherwise you will be constantly guessing if your cursor is properly over the reside selection box. No noticeable difference (to me) from removing
noxrecord, so I left it in
-ncache option does successfully connect, I was unable to mix
ncache and multiple desktop windows. This appears to be an unexpected artifact of how desktop windows are implemented (in Y-coords, windows are "under" the main one) that conflicts with how ncache works (by also using duplicate windows under the main one).