Thank you Levente, I can connect to the image now. I did not understand that I should start RFBServer exactly as before. It works fine, thank you for explaining.
Dave
On Thu, Jun 30, 2016 at 04:25:06AM +0200, Levente Uzonyi wrote:
Hi Dave,
On Wed, 29 Jun 2016, David T. Lewis wrote:
On Tue, Jun 28, 2016 at 10:46:48PM +0200, Levente Uzonyi wrote:
Thanks Dave,
I've changed two names and it works again. I've also disabled remote connections to the VNC server. At the same time updated the README file with a describing how to connect to the VNC over ssh.
Hi Levente,
Noob problem, please be patient.
I am having trouble figuring out how to connect through ssh. I am not experienced with this so I am probably doing something wrong.
I created new keys with ssh-keygen, and copied the public key to box3 with
$ ssh-copy-id ssdotcom@squeaksource.com
This works fine, and I can ssh to davidlewis@box3.squeak.org without entering a password, so I think that the keys are working.
I then do this to set up the tunneling:
$ ssh -N -L 5901:127.0.0.1:5901 davidlewis@box3.squeak.org
I am using a Vinagre remote desktop viewer, and I connect to 127.0.0.1:1 to make the connection. I see this error in the window where I set up the tunneling:
$ ssh -N -L 5901:127.0.0.1:5901 davidlewis@box3.squeak.org channel 2: open failed: connect failed: Connection refused
The error message means that the tunnel is working, but there's no socket listening on port 5901 on the server. Did you start RFBServer the way you described it in the README file?
So I think that I am doing something wrong here.
You should do everything the same way you did before, except for setting up the ssh tunnel and connecting to 127.0.0.1:5901 instead of to the box in your VNC client.
I am assuming that I should get a connection to an X11 desktop on box3, although I should mention that the VM for squeaksource.com is running headless, so its Squeak window would not be visible in an X11 desktop.
Your VNC client should show the Squeak desktop. There's no X11 server involved there.
Levente
Can you point me in the right direction? Thanks.
Dave