You are not logged in.

#1 2007-09-29 00:43:14

A.I. BOT
Member
Registered: 2007-04-01
Posts: 88

VNC; Local works - Remote don't.

I have setup a VNC server, I tried it out, "vncviewer localhost:1", it logged me into my KDEmod session. So, I tried from my dad's mac using "Chicken of VNC" program. I put in my IP, the screen number and my password for VNC but it just says "Connecting ...".

I get the same problem on a Windows machine at school (which is why I need VNC). Is there any permission I need to fix or something to get it so I can see my desktop remotely? It working using localhost but not from another computer using my IP.

Hopefully you get what I am saying ^^.

Thanks for the help smile

Offline

#2 2007-09-30 11:17:15

robertp
Member
From: Warszawa, Poland
Registered: 2007-09-11
Posts: 123

Re: VNC; Local works - Remote don't.

Try with turned off firewalls and packet filters.

Offline

#3 2007-09-30 23:28:55

A.I. BOT
Member
Registered: 2007-04-01
Posts: 88

Re: VNC; Local works - Remote don't.

Hmm, I tried "sudo iptables -A INPUT -p tcp --dport 5901 -j ACCEPT" (5901 is the port VNC uses on my system). No luck, still says "Connecting ..." but never connects.

sudo iptables -nL
<SNIP>
LOG        udp  --  0.0.0.0/0            0.0.0.0/0           udp dpts:0:1023 LOG flags 0 level 4
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpts:5900:5901
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:5901
</SNIP>

Is there anything wrong with that?

netstat -nap
<SNIP>
tcp        0      0 0.0.0.0:5801            0.0.0.0:*               LISTEN      19982/Xvnc
tcp        0      0 0.0.0.0:5901            0.0.0.0:*               LISTEN      19982/Xvnc
</SNIP>

Thanks.

Last edited by A.I. BOT (2007-09-30 23:30:45)

Offline

Board footer

Powered by FluxBB