Editing Presencevnc

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
This is a HOWTO for setting up SSH tunneling between PresenceVNC and x11vnc server. For more general usage instructions, see the [http://presencevnc.garage.maemo.org/ PresenceVNC Home Page].
+
=== Step 1 (setting up) ===
 +
----
 +
Install an SSH-server and x11vnc on your home computer and an SSH-client on your n900. If you have a router you need to port forward port 22. Normaly you can login on the router using your browser. Just write the adress "192.168.1.1" in the adress field. You also need to allow port 22 on your firewall (i used Firestarter for that).  
-
== Step 1 (setting up) ==
+
==== Setting upp SSH: ====
-
 
+
-
Install an SSH-server and x11vnc on your home computer and an SSH-client on your [[Nokia N900|N900]]. If you have a router you need to port forward port 22. Normaly you can login on the router using your browser. Just write the adress "192.168.1.1" in the address field. You also need to allow port 22 on your firewall (I used Firestarter for that).
+
-
 
+
-
=== Setting up SSH ===
+
To make a SSH connection you first need to make an ssh-key. So on your home computer write:
To make a SSH connection you first need to make an ssh-key. So on your home computer write:
  ssh-keygen -t dsa
  ssh-keygen -t dsa
-
Put the files in "<code>/home/<user>/.ssh/</code>". Change "<code><user></code>" to the one on your home computer. One will be named "<code>id_dsa</code>" and the other "id_dsa.pub". You will probably have to make the folder "<code>/home/user/.ssh/</code>" on your N900.
+
Put the files in "/home/<user>/.ssh/". Change "<user>" to the one on your home computer. One will be named "id_dsa" and the other "id_dsa.pub". You will probably have to make the folder "/home/user/.ssh/" on your n900.
  mkdir /home/user/.ssh/  
  mkdir /home/user/.ssh/  
-
Then just move <code>id_dsa.pub</code> there (I used Dropn900).
+
Then just move id_dsa.pub there (i used Dropn900).
-
You could test your connection from your N900 with
+
You could test your connection from your n900 with
  ssh user@ip-number
  ssh user@ip-number
-
* On my Ubuntu machine I installed OpenSSH-server and x11vnc. Opened the port 22 on my firewall and router.
 
-
* On my N900 I installed OpenSSH-client and Presencevnc
 
-
== Step 2 (logging in) ==
+
* On my Ubuntu machine i installed OpenSSH-server and x11vnc. Opened the port 22 on my firewall and router.
 +
* On my n900 i installed OpenSSH-client and Presencevnc
 +
<br />
 +
<br />
-
Open the X-terminal on your N900 and write:
+
=== Step 2 (logging in) ===
 +
Open the X-terminal on you n900 and write:
  ssh -C -L 5900:localhost:5900 user@ip-number
  ssh -C -L 5900:localhost:5900 user@ip-number
-
Write your home computers password when it is asking. It is not necessary to use "-C" but I recommend it. It will compress the stream and make it go smoother on a 3G connection. The "user" is the user and "ip-number" the ip-number of your home computer. You could use a dynamic ip-number provider.. like http://www.no-ip.com.
+
Write you home computers password when it is asking. It is not necessary to use "-C" but i recommend it. It will compress the stream and make it go smother on a 3g connection. The "user" is the user and "ip-number" the ip-number of your home computer. You could use a dynamic ip-number provider.. like http://www.no-ip.com.
-
Now you have connected your home computers port 5900 to the N900 port 5900. This is also known as "tunneling". And are currently logged in on your home computer.
+
Now you have connected your home computers port 5900 to the n900 port 5900. This is also known as "tunneling". And are currently logged in on your home computer.
Now you need to start the vnc-server:
Now you need to start the vnc-server:
  x11vnc -ncache 10 -display :0
  x11vnc -ncache 10 -display :0
 +
<br />
 +
<br />
-
== Step 3 ==
+
=== Step 3 ===
-
 
+
Now when you have finished the above it is not much left.. Open Presencevnc on your n900 and write:
-
Now when you have finished the above it is not much left.. Open Presencevnc on your N900 and write:
+
  localhost:0
  localhost:0
-
Done! You can now see and use your home computer ;)
+
Done! You can now se and use your home computer ;)
-
 
+
-
[[Category:Fremantle]]
+
-
[[Category:Connectivity]]
+

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)