How to configure Red Hat Enterprise Linux system firewall to allow incoming VNC connections?

Solution Verified - Updated -

Issue

  • Which ports are used by vncserver ?
  • How to check the port used by vncserver ?
  • How to configure the firewall (iptables) to allow incoming VNC connections ?
  • How to restrict VNC Access from specific host or Subnet ?
  • Facing issue while connecting with VNC server. Getting error: "Timed out waiting for a response from the host computer."
  • How to restrict VNC Access to a LAN subnet ?
  • Why I am getting error while trying to connect vnc server: "unable to connect to host: Connection timed out(10060)"?

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In