• x11vnc dies when connected from my pc

    From Geo Cherchetout@3:770/3 to All on Wed Oct 31 19:51:24 2018
    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: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
    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.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Geo Cherchetout@3:770/3 to All on Wed Oct 31 21:40:54 2018
    Le 31/10/2018 15:51, I wrote:
    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: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
    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.


    On client side I get this:

    $ vncviewer 192.168.1.33:0

    Visionneuse TigerVNC 64 bits v1.8.0
    Compilé sur : 2017-06-04 15:01
    Copyright © 1999-2017 L’équipe de TigerVNC et beaucoup d’autres (voir README.txt)
    Voir http://www.tigervnc.org 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)
    CConn: connecté à l’hôte 192.168.1.33 par le port 5900
    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

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)