0

I need to use OpenGL on a remote Win 10 computer so can't use RDP. I also need a secure connection so VNC over SSH looks like a good solution.

So far I've installed and configured OpenSSH and TightVNC servers on the remote Windows computer. I've confirmed TightVNC server is listening on port 5900.

I then followed this guide to configure PuTTy with port tunneling.

I've also set AllowTcpForwarding yes in sshd_config on the remote computer.

I can successfully connect/login to the remote Windows computer using PuTTy with tunneling setup for port 5900.

But when I try to connect to 127.0.0.1::5900 or localhost:5900 in the TightVNC viewer it fails to connect giving "Connection has been gracefully closed" error.

What am I missing?

0

Got it working, I was entering the IP I wanted to tunnel to in PuTTy tunnel config not 127.0.0.1. I don't know why this works, some docs say to use 127.0.0.1 and other say to use the IP of the remote machine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.