Hi,

   I believe that the problem is not with your configuration, but with
your IPtables settings.  You need to open up some ports which by
default are currently blocked.  I believe they are in the 5900 range.

 You can try a simple experiment.  Turn off iptables;  try to connect
to your Linux machine, and see if the problem goes away. I believe
that it will.  Look at the man pages for VNC and see which port(s) to
open in the IPtables config.   Hope this helps.

regards,
Andrew

 Andrew Komornicki
 Department of Chemistry
 Stanford University



On 6/26/2017 12:04 PM, Stan Orlov wrote:
> Greetings - this is my first post :)
> 
> I have a brand new SL 6.9 running in a virtual machine on a VMware server. It has Tiger VNC 1.1.0-24.el6 to which I want to connect with VNC Viewer 6.0.3 from my Windows 7 workstation. When I try, the VNC Viewer tells me "The connection was refused by the computer".
> 
> I read different forums and tried editing '/etc/sysconfig/vncservers', etc., but the result is the same.  Being a total newbie to SL, I would really appreciate your advice!
>