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
Comments
Hi Brent,
Can you please check that you have disabled Wayland? https://help.realvnc.com/hc/en-us/articles/4417193011857-How-do-I-disable-Wayland-to-use-VNC-Connect-
Ubuntu 20.04 uses Wayland at the login screen and causes VNC Server to not be available for connections.
Thanks,
Jack
Please sign in to leave a comment.