Sunday, January 31, 2010

[How to] Control your N900 From Your Computer and Vice Versa With VNC !

Posted on 5:50 PM by SlipKoRnSaad

In computing, Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the RFB protocol to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network.



For that, if you want to view and control your pc/laptop from the N900, all you have to do is to :

1 - Get a vnc-server (the program on the machine that shares its screen. The server passively allows the client to take control of it.) like tightvnc (I'm using TightVNC Server. It works great!) or realvnc, install it on your laptop, set up a password, and add the tablet to the list of allowed hosts (plenty of documentation for that available on the net). 

2 - Then you fire up vncviewer (VNC client (or viewer) is the program that watches, controls, and interacts with the server. The client controls the server.) on the N900 (it's in extras-testing repository) and connect to :0 (For eg. 192.168.1.4:0) where

192.168.1.4 describes you laptop/pc ip address.

- ":0" describes the screen you want to connect to, under unix it's not uncommon to have several X Servers running, which would be adressed by :1, :2 and so on, but under windows there's usually only one, hence ":0".

You'll get a touchscreen user interface of your desktop, so you just click / drag etc on the screen...

For the other way round (controlling / viewing your N900's desktop from your laptop), it's basically the same :

- You just fire up x11vnc on the N900 (the default setting is without password, and to close after one session, so you have to start x11vnc every time you want to connect, unless you set it up to start automatically, but then you also want a password, and it gets a bit more involved). Then use vncviewer (tightvnc viewer for example works great for that) on your laptop to connect to :0 (you might have to add the IP address of your N900 followed by :0 by right clicking on tighvnc icon and select add client) et voilà!

12 Response to "[How to] Control your N900 From Your Computer and Vice Versa With VNC !"

.
gravatar
forsagar Says....

hey help me x11vnc is not working on my phone It just start and automatically shut down. Why ?
some other application having also same problem. What is the problem?

.
gravatar
Anonymous Says....

Hi forsagar.

I just intall today vnc/tightVnc as described in this article and with the help of the article there 'http://wiki.maemo.org/N900_USB_networking'.

I'm completly new to Unix/Linux/Maemo world.

To help you with the question you asked :
When I launch x11Vnc on my N900, the app automatically shutdwon. I'm not sure but I think that the app just lauch a script that start a process of VNC on the N900.

I think it's normal because on my N900, everything works well. I'm now able to manage my N900 from my computer desktop (using tightVNC).

So continue trying installing, sure it will work well for you too.

;)

.
gravatar
Anonymous Says....

my x11Vnc keeps crashing every-time i try to start it up what could be the problem?

.
gravatar
Anonymous Says....

as other comments here already suggests, tapping the x11vnc icon starts the server service that listens on the default vnc-port (5900) for any client requests. this process is supposed to run in the background hence the "app" is "finished" after it launched the server and closes automatically.

.
gravatar
Anonymous Says....

Hi guys,
Couple of questions but first this is what I did:
opened x terminal
sudo gainroot
x11vnc –storepasswd
Entered vnc password
Verified the password
Write password to /home/user/.vnc/passwd? I typed Y pressed enter
Then I typed
x11vnc -forever –usepw

I also replaced the line that says "Exec=/usr/bin/x11vnc" with "Exec=/usr/bin/x11vnc -usepw"

My question is: everytime I launch x11vnc through phones menu I am not asked by RealVNC (PC) to type in my password. Also as soon as I shutdown the RealVNC from my PC I have to re-launch x11vnc from my phone. BUT!...if I type in xterm
sudo gainroot
x11vnc -forever -usepw
And then launch RealVNC (pc) I get asked to type in password before connection and I can shutdown and re-launch VNC from PC as many times as I want without loosing connection with my n900.So what is the use of having x11vnc icon in the n900 menu when I can only use it once per time if you understand my thinking?

Best regards

.
gravatar
Anonymous Says....

step by step:
Run terminal and:
sudo gainroot
apt-get install x11vnc
ifconfig (to know ip address of wlan)
x11vnc

on pc connect by relavnc to ipadress:0

.
gravatar
Todaydownload.com Says....

This article gives the light in which we can observe the reality.
This is very nice one and gives in depth information.
RealVNC

.
gravatar
Anonymous Says....

Guys is there any other way to connect your Nokia 900 to your PC like via USB Cable???

.
gravatar
Mark Says....

Can I do this with any computer? Which laptop specs are required to connect my n900 to my computer?

Leave A Reply