I'd like to use screen sharing/I'd like to VNC to a Linux OS desktop from my Mac (so I'd like to view the Linux desktop on the screen of my Mac). Mac OS version: OS X El Capitan, 10.11.15A2301. Ubuntu version: 16.04.5 LTS. I have my Mac configured to accept VNC connections by enabling file sharing, remote login and remote management and I use it to VNC to other Mac systems but I'd like to VNC to a Linux system this time.
I'm assuming I'd have to use some kind of sudo apt install command to install something and enable this functionality? I have installed x11vnc on my Linux. How should I proceed? Please let me know of any other methods you may know as well. Thank you.
EDIT: Also, I am having issues generally sshing into my Linux desktop. Whether I try to ssh to my Linux desktop from my Mac or my hp laptop, I am getting "Connection refused." I have configured the password for the Linux desktop myself and enabled all options on desktop sharing. Please let me know if you have any ideas as to why this is happening. I can ssh into my other systems from my Mac and hp laptop just fine and all these systems, including the Linux desktop that is having its connection refused, are all under the same domain.
EDIT 2: I have resolved the ssh issue - ssh client was working but there were issues w/ ssh server which are resolved now. I still, however, would like to know how to VNC to my Linux desktop.