I have a VNC server (a QEMU VM to be exact) that I want to connect to, but I am experiencing a really strange problem. My server is on [ip]:5905 (or [ip]:5). When I try to connect to this server via VNC Viewer by RealVNC, it connects with absolutely no problems, except the Unencrypted connection warning. When I try to connect to exact same server using the built-in Screen Sharing app, it either tells me that it failed to connect, or it stays in an infinite “Connecting...” loop. What should I do?
By the way, I am trying to make a script that opens a connection to this VNC server, so I need arguments for the open
command too. Thanks.