For my youtube tutorials, I've lately been VNC-ing from MacOS to my Windows machine. It's because of laziness. All of my recording and video editing setup is on Windows. Then again, it's so much nicer and faster to code from MacOS. Well, my desktop with Windows is at least 8 years old. I stopped counting...

To connect from Windows to Mac computer using vnc,

on Macos:

Go to System Settings, Sharing and find Screen Sharing. Enable it.

Click on Screen Sharing Options and enable:

  • Anyone may request permission to control screen
  • VNC viewers may control screen with a password
  • Allow access for All users
Screen Sharing Options
Screen Sharing Options

You should see the ip address and the port should be 5900:

grep rfb /etc/services

RFB stands for Remote Framebuffer protocol, and VNC server uses that protocol.

Sometimes, in a rare case, some other service might occupy 5900 port.

Since MacOS Screen Sharing is managed by launchd, find out exactly which port is it on:

sudo lsof -i | grep launchd

on Windows:

Install a vnc client. I use TightVNC, it's free and opensourced.

When you run it, set the ipaddress:5900. Connect.

It's not ideal, it's laggy and clipboard doesn't always work.