Remotely Control Ubuntu using your NexusOne (VNC Setup)

The steps to setup VNC server on Ubuntu desktop/laptop going to be exactly the same as my last post on the similar topic for IPhone (instead of NexusOne).

I will start directly from the step to install VNC client on NexusOne device (which is different for IPhone)

Step II: Setup VNC in NexusOne (though the steps should be pretty much the same for any mobile/system):

  1. Install a VNC client from the Android Market. I use “androidVNC” because of its simplicity, ease of configuration and its free.
  2. Run the NexusOne application and follow the instructions to connect your NexusOne VNC client with the Ubuntu VNC server. Use command ifconfig to get the VNC Server IP on Ubuntu machine. Use 5900 as the default port. Enter the same password as setup in Step 2 in the previous post while installing VNC server on Ubuntu machine.

That’s it. Enjoy controlling your Ubuntu system remotely through your smart phone. Though androidVNC  client is not as advanced and elegant as its counterpart apps on IPhone, but it does the work. I have not tested the other free VNC clients for Android. Give them a try and see if they provide you a complete control of the remote Ubuntu system.

I found the following limitations with this (androidVNC) VNC client:

  • It does not support pinch in/out for zooming in and out of the remote screen and dragging the screen too frequently is a bit irritating.
  • Even at full resolution setting for remote desktop on the VNC client, the resolution of the remote system was not as descent as IPhone client delivers.

Please drop comments and your experiences with other VNC clients that you ever try out.

Below are some screenshots previewing the same. I have also created the below video for a quick demo [I apologize for the poor quality of the video because of low light conditions].

Screenshot1 Screenshot2

Advertisements

5 thoughts on “Remotely Control Ubuntu using your NexusOne (VNC Setup)

  1. Im trying to connect froyo 2.2 to my ubuntu 10.10. Config router for port, virtual server etc…etc..use vncandorid but when I try to connect it’s like no connection are ask to ubuntu server vnc. I’m sure it’s a stupid problem so stupid that I can resole. Also, when try to start x11vnc server at the end receive this:
    The VNC desktop is: wiwaxianet:1
    Java viewer URL: http://wiwaxianet:5800/
    PORT=5901

    So i sue 5901 because 5900 “busy”.
    I dont think this is the prob, but i do:
    netstat -an | grep “LISTEN ”
    and receive this:
    cp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
    tcp6 0 0 :::5900 :::* LISTEN
    tcp6 0 0 ::1:631 :::* LISTEN

    Dunno how to resolve 😦

    Reply
    • Thanks Wiwaxia for dropping by. Lets take a step back with what you have done. How exactly did you start the vnc server on your ubuntu sys? As mentioned in my earlier post did you try starting server with this command line
      x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800
      with appropriate port?

      Try again and drop me a mail what ever is the case. If you are still facing problem we will try different option. Today itself I remotely controlled my ubuntu laptop from my android tablet :). So I know it works.

      Reply
  2. I keep getting the following error…

    “VNC connection failed!
    The operation timed out”

    Running Android 2.2 and trying to connect to Ubuntu 11.04

    I typed in the following to open port 5900:
    iptables -A INPUT -p tcp -d 0/0 -s 0/0 –dport 5900 -j ACCEPT

    I think the above is redundant however because I know of no firewall blocking me.

    Any tips?

    Reply
    • Thanks Rhiannon for dropping by. Yes, if you want to access your system from outside your home network (i.e. Internet), you would require to configure port forwarding in your router for those specific port numbers.

      Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s