maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   VNC Viewer problems with N900 (https://talk.maemo.org/showthread.php?t=35926)

Sasler 2009-12-04 22:19

VNC Viewer problems with N900
 
I can't connect to a Real VNC Server running on a 32 bit Windows XP. I get connection errors. This is what I have tried and the errors I get:

192.168.0.1 (Error: Connection failed: )
192.168.0.1:0 (Error: Connection failed: )
192.168.0.1:5800 (Java server port - Error: Could not connect to server)
192.168.0.1:5900 (Connection port - Error: Connection failed: )

In all the variations except when trying the port 5800, the error comes almost immediately. It almost feels like that it doesn't even try to connect. When using the port 5800, however, it takes some time, so it's at least trying.

I'm able to connect fine to this IP address from Windows computer running the Real VNC Client. But just in case I tried even to disable the firewall, but that did not help either.

Pinging to this IP works fine. But for the ping to work, I have to use "sudo gainroot".

Am I doing something wrong?

Thank you for your help.

jiiv 2009-12-04 22:24

Re: VNC Viewer problems with N900
 
Is your tablet in the 192.168.0. subnet as well, or are you trying to connect via 3g or something?

Sasler 2009-12-04 22:28

Re: VNC Viewer problems with N900
 
Quote:

Originally Posted by jiiv (Post 410755)
Is your tablet in the 192.168.0. subnet as well, or are you trying to connect via 3g or something?

Yes, it's in the same subnet.

jiiv 2009-12-04 22:35

Re: VNC Viewer problems with N900
 
Does the n900 have telnet? If so, can you:
telnet 192.168.0.1 5900
from the tablet? (Sorry, my n900 hasn't arrived yet so I'm not sure whether telnet's included.)
Your windows desktop is definitely 192.168.0.1? That's not a gateway (router) address or anything?

Sasler 2009-12-04 22:51

Re: VNC Viewer problems with N900
 
Quote:

Originally Posted by jiiv (Post 410776)
Does the n900 have telnet? If so, can you:
telnet 192.168.0.1 5900
from the tablet? (Sorry, my n900 hasn't arrived yet so I'm not sure whether telnet's included.)
Your windows desktop is definitely 192.168.0.1? That's not a gateway (router) address or anything?

No, I don't have telnet. Where can I get it?

The IP address I gave is just an example. But I got yes, I'm using the correct IP and both are in the same subnet. ;)

MonkeyMagic 2009-12-04 22:52

Re: VNC Viewer problems with N900
 
Quote:

Originally Posted by Sasler (Post 410750)
I can't connect to a Real VNC Server running on a 32 bit Windows XP. I get connection errors. This is what I have tried and the errors I get:

192.168.0.1 (Error: Connection failed: )
192.168.0.1:0 (Error: Connection failed: )
192.168.0.1:5800 (Java server port - Error: Could not connect to server)
192.168.0.1:5900 (Connection port - Error: Connection failed: )

In all the variations except when trying the port 5800, the error comes almost immediately. It almost feels like that it doesn't even try to connect. When using the port 5800, however, it takes some time, so it's at least trying.

I'm able to connect fine to this IP address from Windows computer running the Real VNC Client. But just in case I tried even to disable the firewall, but that did not help either.

Pinging to this IP works fine. But for the ping to work, I have to use "sudo gainroot".

Am I doing something wrong?

Thank you for your help.

I think your desktop would be between 192.168.1.100 and 192.168.1.199 range. please someone correct me if I'm wrong but my desktop, laptop, xbox are 100 101 102 etc.
Not great with networking but I think yours should be 192.168.0.xxx:5800 (xxx=desktop address). Also ensure firewall ports are opened for 5800 and 5900 on xp and router i think.
Again please correct me If im wrong.

jiiv 2009-12-04 22:58

Re: VNC Viewer problems with N900
 
OK, good. I'm honestly not really sure where to get telnet for the n900, perhaps someone can chime in?
If your firewall is off there's no other firewall between tablet & desktop, the tablet can ping the desktop, and the VNC server is running on the desktop, there really shouldn't be any issues...we're sure you can still connect from another desktop in that subnet?
Sorry, it's a bit hard to troubleshoot without telnet/nmap/tcpdump/whatever, and I'm not sure what's available for the n900 yet. :(

jiiv 2009-12-04 22:59

Re: VNC Viewer problems with N900
 
Quote:

Originally Posted by MonkeyMagic (Post 410795)
Also ensure firewall ports are opened for 5800 and 5900 on xp and router i think.

FYI, only need 5900 for VNC.

jiiv 2009-12-04 23:02

Re: VNC Viewer problems with N900
 
I'm about to leave the office here, but could you post the output of
sudo ifconfig wlan0
? (I'm ...assuming that the wireless interface is wlan0...)

MonkeyMagic 2009-12-04 23:11

Re: VNC Viewer problems with N900
 
Quote:

Originally Posted by jiiv (Post 410804)
FYI, only need 5900 for VNC.

cool thanks. I just thought 5900 was for viewing through web browser. Not got my n900 yet but look forward to vn with it. I'll refer back to here for info.


All times are GMT. The time now is 03:27.

vBulletin® Version 3.8.8