Cannot Access remote CentOS machine using VNC

I am trying to connect to a remote CentOs machine through VNC to get a graphical display.

I have followed the steps mentioned in to install and configure VNC server on my CentOS machine.

I have used the Iptable command to open 5901 port as well.

However on my ubuntu machine when I type vncviewer and type my the remote server’s IP address I get the following error:

main:        unable to connect to host: No route to host (113)


It worked by specifying the port number along with the IP Address:


Source : Link , Question Author : user1692342 , Answer Author : user1692342

Leave a Comment