Howto: Vnc server start before login to ubuntu ?

December 9, 2018 2.5k views
Automated Setups Ubuntu 18.04

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.

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:

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04#step-4-%E2%80%94-creating-a-vnc-service-file

Jarland

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.
Have another answer? Share your knowledge.