Question

Howto: Vnc server start before login to ubuntu ?

Posted December 9, 2018 6.4k views
Ubuntu 18.04 Automated 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.

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.
Submit an Answer