Why my VNC service is not running after reboot in RHEL7.2?

I enabled the service for my display and also set the preset. Behaviour is very random. Sometimes, VNC Service starts at reboot, sometimes not. systemctl enable vncserver@:1.service systemctl start vncserver@:1.service

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.

Typically you will want to check the journal for more details on that particular service. I’ve seen in the past that configurations for units not checking for appropriate states or other services can lead to unit start failures.

One common problem is the network state. If the log for the unit shows that it failed to connect due to networking states, this may be worth looking into.

Any other issues outlined in the logs that result in the service failing to start or to stay on would be the starting point for further review.