Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] Presence VNC

    Reply
    Page 14 of 21 | Prev | 4   12     13   14   15     16   | Next | Last
    kaos_king | # 131 | 2010-11-25, 13:38 | Report

    Im baffled by this.

    I can ping from n900 to ubuntu laptop and visa versa. I can do it by only ip or ip+vnc port and I get a reply from both.

    On the ubuntu laptop i have configured the remote desktop to allow connections. Then on the laptop i can open remote desktop viewer and connect to the same laptop using just the ip and i get to see my screen (like a loop).

    Then on the n900 using either presence vnc or vnc viewer i cant connect. I start up presencevnc from xterm and connect to just my ip address, it then has the loading symbol for a couple of minutes and i get the following output:

    Code:
    /home/user # presencevnc
    Maemo applications must be run with the run-standalone.sh script!
    QGtkStyle was unable to detect the current GTK+ theme.
    --------------------- trying init ---------------------
    "ConnectToTcpAddr: connect"
    "Unable to connect to VNC server"
    about to quit
    "Server not found."
    Am i missing doing any sort of config on the n900? Am i doing something stupid?

    My first time trying to vnc to ubuntu.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 132 | 2010-11-25, 14:03 | Report

    Originally Posted by kaos_king View Post
    Im baffled by this.

    I can ping from n900 to ubuntu laptop and visa versa. I can do it by only ip or ip+vnc port and I get a reply from both.

    On the ubuntu laptop i have configured the remote desktop to allow connections. Then on the laptop i can open remote desktop viewer and connect to the same laptop using just the ip and i get to see my screen (like a loop).

    Then on the n900 using either presence vnc or vnc viewer i cant connect. I start up presencevnc from xterm and connect to just my ip address, it then has the loading symbol for a couple of minutes and i get the following output:

    Code:
    /home/user # presencevnc
    Maemo applications must be run with the run-standalone.sh script!
    QGtkStyle was unable to detect the current GTK+ theme.
    --------------------- trying init ---------------------
    "ConnectToTcpAddr: connect"
    "Unable to connect to VNC server"
    about to quit
    "Server not found."
    Am i missing doing any sort of config on the n900? Am i doing something stupid?

    My first time trying to vnc to ubuntu.
    You're trying to run it as root, which is why you get that initial warning message. That shouldn't cause any issues with the connection though. You can test whether the problem's in the client by using telnet (use the appropriate IP address and port (display + 5900)):
    Code:
    telnet a.b.c.d 5900

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Rob1n For This Useful Post:
    kaos_king

     
    kaos_king | # 133 | 2010-11-25, 14:59 | Report

    Laptop IP = 192.168.1.147
    N900 IP = 192.168.1.217

    Telnet on the N900 produced:

    Code:
    /home/user # telnet 192.168.1.147:5900
    telnet: could not resolve 192.168.1.147:5900/telnet: Name or service not known
    If i do the ip without a port it takes ages and then i get a connection timed out error.

    Should I be starting up tightvncserver (i dont need to when the laptop connects to itself though). If i do nmap on the laptop i get this:

    Code:
    kaos@laptop:~$ nmap localhost
    
    Starting Nmap 5.21 ( http://nmap.org ) at 2010-11-25 14:57 GMT
    Nmap scan report for localhost (127.0.0.1)
    Host is up (0.00052s latency).
    Hostname localhost resolves to 2 IPs. Only scanned 127.0.0.1
    rDNS record for 127.0.0.1: localhost.localdomain
    Not shown: 996 closed ports
    PORT     STATE SERVICE
    80/tcp   open  http
    631/tcp  open  ipp
    3306/tcp open  mysql
    5900/tcp open  vnc
    
    Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
    Not sure if thats any help.

    Networking is not my strong point

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 134 | 2010-11-25, 15:16 | Report

    Originally Posted by kaos_king View Post
    Laptop IP = 192.168.1.147
    N900 IP = 192.168.1.217

    Telnet on the N900 produced:

    Code:
    /home/user # telnet 192.168.1.147:5900
    telnet: could not resolve 192.168.1.147:5900/telnet: Name or service not known
    You don't want the colon in there, just:
    Code:
    telnet 192.168.1.147 5900
    Originally Posted by kaos_king View Post
    If i do the ip without a port it takes ages and then i get a connection timed out error.
    That'll be beacuse you're not running a telnet server.

    Originally Posted by kaos_king View Post
    Should I be starting up tightvncserver (i dont need to when the laptop connects to itself though). If i do nmap on the laptop i get this:

    Code:
    kaos@laptop:~$ nmap localhost
    
    Starting Nmap 5.21 ( http://nmap.org ) at 2010-11-25 14:57 GMT
    Nmap scan report for localhost (127.0.0.1)
    Host is up (0.00052s latency).
    Hostname localhost resolves to 2 IPs. Only scanned 127.0.0.1
    rDNS record for 127.0.0.1: localhost.localdomain
    Not shown: 996 closed ports
    PORT     STATE SERVICE
    80/tcp   open  http
    631/tcp  open  ipp
    3306/tcp open  mysql
    5900/tcp open  vnc
    
    Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
    It certainly looks like you've got a VNC server running on there already, so no need to start tightvncserver. The only question is whether the server is listening on the network, or just on the local machine. Try running (on the laptop):
    Code:
    netstat -a -n | grep 5900

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Rob1n For This Useful Post:
    kaos_king

     
    kaos_king | # 135 | 2010-11-25, 15:23 | Report

    Netstat gives:

    Code:
    kaos@laptop:~$ netstat -a -n | grep 5900
    tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN     
    tcp6       0      0 :::5900                 :::*                    LISTEN
    Im hoping thats not what it should be and there is an easy fix to all this

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 136 | 2010-11-25, 16:18 | Report

    Originally Posted by kaos_king View Post
    Netstat gives:

    Code:
    kaos@laptop:~$ netstat -a -n | grep 5900
    tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN     
    tcp6       0      0 :::5900                 :::*                    LISTEN
    Im hoping thats not what it should be and there is an easy fix to all this
    Nope, that's fine - 0.0.0.0 indicates that it's listening on all interfaces. What was the result from telnet?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    kaos_king | # 137 | 2010-11-25, 16:37 | Report

    I did it without the colon and it just tries for ages before timing out - but like you said, i dont have telnet server running on the laptop though?

    Been googling the whole time too but cant find whats wrong with this one

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 138 | 2010-11-25, 20:01 | Report

    Originally Posted by kaos_king View Post
    I did it without the colon and it just tries for ages before timing out - but like you said, i dont have telnet server running on the laptop though?
    Telnet just connects to the port you specified, so that test means it's not able to connect to the VNC server. That means the issue has nothing to do with the VNC client. Do you have a firewall running on the laptop?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Rob1n For This Useful Post:
    kaos_king

     
    kaos_king | # 139 | 2010-11-26, 02:39 | Report

    OMFG, i didnt think i had but ubuntu has one as default. Its working flawlessly now!

    I cant find a gui for the firewall but i did this to disable it:

    Code:
    sudo ufw disable
    I'll have to research into how to configuring it so that i can keep it enabled and still allow vnc.

    Thanks so much for your help rob1n. I appreciate it

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Bingley Joe | # 140 | 2010-11-26, 05:03 | Report

    This app works really nicely for me connecting to my Mac running OS X's strangely quirky native vnc implementation, which is a great thing

    I was wondering if it would be possible to have support for Mac keyboard shortcuts someday (ie: Apple/Command key)? That would be immensely appreciated!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 14 of 21 | Prev | 4   12     13   14   15     16   | Next | Last
vBulletin® Version 3.8.8
Normal Logout