x11vnc dies when connected from my pc

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:

formatting link
oct. 31 15:08:09 raspberrypi x11vnc[532]: 31/10/2018 15:08:09 check_xrandr_event(): oct. 31 15:08:09 raspberrypi x11vnc[532]: 31/10/2018 15:08:09 Detected XRANDR event at location 'check_xevents': oct. 31 15:08:09 raspberrypi x11vnc[532]: 31/10/2018 15:08:09 check_xrandr_event: no change detected. oct. 31 15:08:09 raspberrypi x11vnc[532]: 31/10/2018 15:08:09 check_xrandr_event: enabling full XRANDR trapping anyway.

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.

Reply to
Geo Cherchetout
Loading thread data ...

On client side I get this:

$ vncviewer 192.168.1.33:0

Visionneuse TigerVNC 64 bits v1.8.0

README.txt) Voir

formatting link
pour plus d?informations sur TigerVNC.

Wed Oct 31 17:36:52 2018 DecodeManager: Detected 4 CPU core(s) DecodeManager: Creating 4 decoder thread(s)

CConnection: Server supports RFB protocol version 3.8 CConnection: Using RFB protocol version 3.8 CConnection: Choosing security type None(1) CConn: Utilisation du format de pixel depth 24 (32bpp) little-endian rgb888 CConn: Utilise l?encodage Tight

Wed Oct 31 17:37:05 2018 CConn: End of stream

Reply to
Geo Cherchetout

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.