vnc problem

Hello,

I install VNC server 5.2.1 on AIX 5.3 and when i try to connect with VNC viewer it get error message : "The connection was refused by the host computer"

Hope u guys can help me

Thanks

Make sure the VNC server software is listening on port 5900.
Do a

netstat -an | grep 5900 

to see the state of that port.

There is no output when i tried commend

netstat -an | grep 5900

how to change the VNC listening port?

Thanks

You can use httpport option for port change. For example:

vncserver -display 800x600 -depth 16 -httpport 5000