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: | ||
- | |||
- | |||
== Step 1 (setting up) == | == 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). | ||
- | + | === Setting upp SSH: === | |
- | + | ||
- | === Setting | + | |
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 " | + | 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 | + | Then just move id_dsa.pub there (i used Dropn900). |
- | You could test your connection from your | + | 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 | ||
- | Open the X-terminal on | + | = 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 | + | 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 | + | 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: | ||
Line 30: | Line 27: | ||
== 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 | + | |
localhost:0 | localhost:0 | ||
- | Done! You can now | + | Done! You can now se and use your home computer ;) |
- | + | ||
- | + | ||
- | + |
Learn more about Contributing to the wiki.