VNC Startup on Ubuntu

Using the following:

https://help.realvnc.com/hc/en-us/articles/360002310857-vncserver-x11-serviced-Man-Page#name-0-1

When my VM is rebooted the service does not start when at the login prompt.  After logging in then and only can I access with VNC connect.  Anyway, that the service can start 'before' I log in?  I do not have access to the physical device always after a reboot.

 

Using Ubuntu 20.0.4 desktop.

ubuntu-desktop01:/etc/systemd/system/multi-user.target.wants$ cat vncserver-x11-serviced.service 
[Unit]
Description=VNC Server in Service Mode daemon
After=network.target

[Service]
ExecStart=/usr/bin/vncserver-x11-serviced -fg
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
KillMode=process

[Install]
WantedBy=multi-user.target

 

0

Comments

1 comment

Please sign in to leave a comment.

Didn't find what you were looking for?

New post