Question

Howto: Vnc server start before login to ubuntu ?

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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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-—-creating-a-vnc-service-file

Jarland