![]() |
2010-02-01
, 09:20
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#2
|
![]() |
2010-02-01
, 09:27
|
Posts: 254 |
Thanked: 17 times |
Joined on Dec 2009
|
#3
|
![]() |
2010-02-01
, 09:29
|
Posts: 254 |
Thanked: 17 times |
Joined on Dec 2009
|
#4
|
![]() |
2010-02-01
, 09:43
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#5
|
The Following 5 Users Say Thank You to Rob1n For This Useful Post: | ||
![]() |
2010-02-01
, 09:49
|
Posts: 254 |
Thanked: 17 times |
Joined on Dec 2009
|
#6
|
Okay, that's a lot easier then! Unless you have a static IP address assigned by your ISP then you'll want to set up dynamic DNS on your PC (see http://www.dyndns.com/). You'll also need to forward the necessary ports on your router (see http://www.realvnc.com/support/portforward.html).
The only issue is that the VNC protocol is unsecured - all traffic after the initial login is sent in the clear. To protect this you should use an encrypted tunnel, which is a little more complicated to setup, but I can write up some instructions if you want to do this.
![]() |
2010-02-01
, 10:40
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#7
|
PCExample data used in instructions (substitute your own values for these where used later on):Register your PC with a dynamic DNS provider (e.g. http://www.dyndns.com/) to give you a fixed DNS name you can use to reach it (the free option will provide all the necessary functionality). You'll also need to set up an update client on the PC/router in order to notify the DNS servers of the new IP address whenever it changes.N900:Install vncviewer and OpenSSH Client via the Application manager
Registered dynamic DNS name for the PC: pc.dyndns.orgOn the router:
SSH user login: fred
SSH port: 522
Ensure port 522 is allowed, and is forwarded to the PC.On the N900:
From X Terminal, run "ssh-keygen -b 2048 -t rsa" to generate a public/private key pair. Choose a pass phrase - this will be required every time you connect (you can leave it blank, but I'd advise against this).On the PC:
Download and install freeSSHd (http://www.freesshd.com/), setting it to run as a system service.On the N900:
Double-click on the icon in the system tray.
Edit the settings:Telnet: Disable starting server at startup.Click OK to close the freeSSHd settings window.
SSH: Enable starting server at startup. Change the port to 522 to reduce random attacks (any other non-standard port will do). You may also need to disable the new console code (reported as causing issues under 64-bit Windows 7).
Authentication: Set password authentication to disabled and public key authentication to required.
Tunneling: Allow local port forwarding, only to localhost. Disable remote port forwarding.
Users: Add a new user fred (any name will do), set authorization to Public key, and enable Shell and Tunneling.
Copy and rename the public key from the N900 (/home/user/.ssh/id_rsa.pub) to C:\Program Files\freeSSHd\fred on the PC (the same name as you used for the user you created earlier, with no file extension).
Create a configuration file /home/user/.ssh/config (to simplify the connection strings):The tunnel should now be configured. You can start the tunnel from X Terminal by running "ssh pc.dyndns.org". You should be prompted for the pass phrase, then presented with the C:\ prompt. You can now run the VNC client, connecting to "127.0.0.1:0". To shut down the tunnel, simply type "exit" at the C:\ prompt.Host pc.dyndns.org
IdentitiesOnly yes
PasswordAuthentication no
User fred
Port 522
LocalForward localhost:5900 127.0.0.1:5900
The Following 18 Users Say Thank You to Rob1n For This Useful Post: | ||
Aonsaithya, Brank, cheve, codeMonkey, dba, Flandry, Helmuth, jamiefuller, klinglerware, Kriek, Moloch, MSHAH, noobmonkey, phortize, sky4vip, Tinnet, Trestry, vi_ |
![]() |
2010-02-01
, 13:51
|
Posts: 145 |
Thanked: 304 times |
Joined on Jan 2010
@ Milton Keynes, UK
|
#8
|
![]() |
2010-02-01
, 13:58
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#9
|
![]() |
2010-02-01
, 14:46
|
Posts: 145 |
Thanked: 304 times |
Joined on Jan 2010
@ Milton Keynes, UK
|
#10
|
Can you try enabling the logs on the server (the Logging tab). This should report what the server thinks is going wrong.
Through help of various posts and my fellow talk.maemo users i finally got vnc working on my phone.
It now works on a private IP. That is i have to be on the same network on my phone as i am on my pc to connect.
Is there any way that i could connect my pc to my phone no matter wherever i am. ??
What are the pre-requisites for that/??
thanks in advance
somekeystrokes