How to Install and Configure VNC on Ubuntu 16.04

February 12, 2018 3.5k views
Linux Basics Ubuntu 16.04

Hello everyone! Please if somebody can help with ubuntu/puffy config. I followed this tut : 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 ;, I tried different ports but still can’t work it out..:(

1 Answer

I had to change the below line -
ssh -L 5901: -N -f -l username serveripaddress

It didn’t work for me but

ssh -L 8080: -N -f -l username serveripaddress

works great with

  • Hi! Thanks, it worked!! Unfortunatelly another bug appeared, after restarting vncserver gave me the error : Job for vnc server.service failed because a configured resource limit was exceeded.. Any idea how can I fix this? Thank you so mych!

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!