It seems there has not been any resolution. I am having similar problem setting up a vnc session server on Redhat 5.
Please i created a vnc sersion between Redhat linux 5 and windows server 2003. Redhat linux is the vnc server while window server 2003 is the vnc viewer. I can not connect to Redhat despite starting Redhat. I have an error in windows.
VNC Viewer :Error
Unable to connect to host: Connection refused(10061)
There is network connection between both and their hostname can also be resolve.(hosts file contains ipaddress and hostname).
VNC viewer in Linux can access the windows(I installed both VNC server and viewer on windows). Redhat 5 has both VNC viewer and server installed when the OS is installed.
I started up vnc server from services and it is running.
The following below is the command to start and the error log message.
[root@idsl01 ~]# vncserver -geometry 1920x1200
New 'idsl01:3 (root)' desktop is idsl01:3
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/idsl01:3.log
[root@idsl01 ~]# more /root/.vnc/idsl01:3.log
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/idsl01:3
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See
http://www.realvnc.com for information on VNC.
Underlying X server release 70101000, The X.Org Foundation
Sat Mar 24 15:16:01 2012
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5903
vncext: Listening for HTTP connections on port 5803
vncext: created VNC server for screen 0
[root@idsl01 ~]#
Regards,
Jude