vnc server connection refused and port appears closed

  • Thread starter Thread starter postcd
  • Start date Start date
P

postcd

I installed vncserver on my redhat, i installed same setup as i used on my last server where it worked.

But now after start vncserver and trying to connect it says "Connection refused"
I tried to check if port is open from external computer and it says its Closed.

I tried service iptables stop
and it still refused. Then i did iptables status and it shown some iptables things, so not sure if it was really stopped. so i added this rule to iptables: iptables -I INPUT -p tcp --dport 1 -j ACCEPT
my port is 1 of vnc.

but still refused. So i want to ask how to open that port? Or what to check?

the log file shows this:
Quote:
Failed to read: session.screen0.iconbar.iconWidth
Setting default value
Failed to read: session.screen0.iconbar.iconTextPadding
Setting default value
Failed to read: session.screen0.iconbar.usePixmap
Setting default value
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value

Continue reading...
 
Back
Top