Hello,
On my raspberrypi x11vnc is automaticaly started at boot:
pi@raspberrypi:~ $ sudo systemctl status x11vnc.service ? x11vnc.service - Start x11vnc at startup. Loaded: loaded (/etc/systemd/system/x11vnc.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2018-10-31 15:08:07 CET; 1min 2s ago Main PID: 532 (x11vnc) CGroup: /system.slice/x11vnc.service ??532 /usr/bin/x11vnc -forever -auth guess -nopw -display :0
oct. 31 15:08:09 raspberrypi x11vnc[532]: Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet? oct. 31 15:08:09 raspberrypi x11vnc[532]: The scheme stores pixel data offscreen on the VNC viewer side for faster oct. 31 15:08:09 raspberrypi x11vnc[532]: retrieval. It should work with any VNC viewer. Try it by running: oct. 31 15:08:09 raspberrypi x11vnc[532]: x11vnc -ncache 10 ... oct. 31 15:08:09 raspberrypi x11vnc[532]: One can also add -ncache_cr for smooth 'copyrect' window motion. oct. 31 15:08:09 raspberrypi x11vnc[532]: More info:
When I connect from my pc with vncviewer (from tigervnc) I get the welcom page, but as soon I click on any menu x11vnc dies instantly:
pi@raspberrypi:~ $ sudo systemctl status x11vnc.service ? x11vnc.service - Start x11vnc at startup. Loaded: loaded (/etc/systemd/system/x11vnc.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2018-10-31 15:12:42 CET;
58s ago Process: 532 ExecStart=/usr/bin/x11vnc -forever -auth guess -nopw-display :0 (code=exited, status=3) Main PID: 532 (code=exited, status=3)
oct. 31 15:12:30 raspberrypi x11vnc[532]: 31/10/2018 15:12:30 created xdamage object: 0x20002c oct. 31 15:12:30 raspberrypi x11vnc[532]: 31/10/2018 15:12:30 copy_tiles: allocating first_line at size 41 oct. 31 15:12:36 raspberrypi x11vnc[532]: 31/10/2018 15:12:36 created selwin: 0x20002d oct. 31 15:12:36 raspberrypi x11vnc[532]: 31/10/2018 15:12:36 called initialize_xfixes() oct. 31 15:12:41 raspberrypi x11vnc[532]: 31/10/2018 15:12:41 cursor_noshape_updates_clients: 0 oct. 31 15:12:42 raspberrypi x11vnc[532]: caught XIO error: oct. 31 15:12:42 raspberrypi x11vnc[532]: 31/10/2018 15:12:42 deleted 40 tile_row polling images. oct. 31 15:12:42 raspberrypi systemd[1]: x11vnc.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED oct. 31 15:12:42 raspberrypi systemd[1]: x11vnc.service: Unit entered failed state. oct. 31 15:12:42 raspberrypi systemd[1]: x11vnc.service: Failed with result 'exit-code'.
In raspi-config I have choosen to start automaticaly in graphic mode since I assume this is needed for x11vnc to work.
Also I don't remember in wich config file I have set the options used on x11vnc starting but these options seems good ones to me since access is only permitted from local network.
Any help would be appreciated, thank you in advance.