In order to get VNC starting automatically I have simply opened the X11 windows (with mouse +screen connected to the Sparky) and I did a “drag and drop” of the vnc application into the .config/autostart/ folder
This action created a file named : x11vnc.desktop with the following contend
[Desktop Entry]
Name=X11VNC Server
Comment=Share this desktop by VNC
Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o %%HOME/.x11vnc.log.%%VNCDI$
Icon=computer
Terminal=true
Type=Application
StartupNotify=false
#StartupWMClass=x11vnc_port_prompt
Categories=Network;RemoteAccess;
X-KeepTerminal=true
At boot I have a dialog windows opened by VNC that is asking for parameters in oder to finalise the VNC configuration.
Is it not possible to simply include theses parameters in the x11vnc.desktop file ?