Howto: Vnc server start before login to ubuntu ?

Posted December 9, 2018 19.5k views
Ubuntu 18.04Automated Setups

I need to have vncserver start automatic after ubuntu reboot. My Ubuntu server is 20 km from me. As it is now, i have to manual login to start vncserver.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hey friend,

You can create a systemd service for the VNC server that will allow you to enable it to be started on boot. How to do that is going to be relative in every way, but this tutorial talks about how to do it under the conditions of the tutorial:


by finid
In this guide, we will be setting up VNC on a Ubuntu 16.04 server and connecting to it securely through an SSH tunnel. The VNC server we will be using is TightVNC, a fast and lightweight remote control package. This choice will ensure that our VNC connection will be smooth and stable even on slower internet connections.