Hello everyone! Please if somebody can help with ubuntu/puffy config. I followed this tut :https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04. First time when I installed with Tightvnc server it was ok…then I distroyed that dropplet and created another. On this new one I can’t finalize the instalation. Doesn’t connect to VNC server. Gave me different errors like: Address already in use; Could not request local forwarding. I made the ssh/tunnel settings (5901 ; 127.0.0.1:5901), I tried different ports but still can’t work it out…:(
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I had to change the below line - ssh -L 5901:127.0.0.1:5901 -N -f -l username serveripaddress
It didn’t work for me but
ssh -L 8080:127.0.0.1:5901 -N -f -l username serveripaddress
works great with vmc://localhost:8080
Hi The trick is, when you started vncserver, in the result you will see something like below.
New ‘X’ desktop is test-vk-ubuntu-server-01:3
You see that last number after colon? It could be 1 or 2 or 3. If you say this number is X, then then port you should try is 5900+X. So when you do ssh, your command would be as below trying 5900+3=5903 port, if X is 3.
ssh -L 5903:127.0.0.1:5903 -N -f -l test-vk-user-01 159.65.137.11
And the command prompt simply exits ssh. Now you could go to vnc client, and connect. I used tight vnc, where I used localhost::5903 and it asked for vnc pw (which we create in a step as in the tutorial), and boom, it connected.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.