im beitrag “vnc-bildschirmfreigabe auf linux mint 19 xfce” beschrieb ich die konfiguration des x11vnc service auf linux mint 19 xfce.
auf der maschine, die ich hier nutze, ist auch caffeine im einsatz, um das abschalten des bildschirms um dauerbetrieb zu verhindern. im parallelbetrieb eines aktiv geschalteten caffeine mit x11vnc bricht die verbindung allerdings nach kurzer zeit reproduzierbar ab…
root@laptop:~# systemctl status x11vnc.service
● x11vnc.service - Start x11vnc at startup.
Loaded: loaded (/lib/systemd/system/x11vnc.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2018-09-25 10:23:16 CEST; 10s ago
Process: 32105 ExecStart=/usr/bin/x11vnc -auth guess -forever -noxdamage -repeat -rfbauth /etc/x11vnc/vncpwd
Main PID: 32105 (code=exited, status=2)
Sep 25 10:21:41 laptop x11vnc[32105]: 25/09/2018 10:21:41 cursor_noshape_updates_clients: 0
Sep 25 10:21:41 laptop x11vnc[32105]: 25/09/2018 10:21:41 non-existent cursor: which=9
Sep 25 10:21:44 laptop x11vnc[32105]: 25/09/2018 10:21:44 cursor_noshape_updates_clients: 0
Sep 25 10:21:46 laptop x11vnc[32105]: 25/09/2018 10:21:46 cursor_noshape_updates_clients: 0
Sep 25 10:22:34 laptop x11vnc[32105]: 25/09/2018 10:22:34 non-existent cursor: which=9
Sep 25 10:23:16 laptop x11vnc[32105]: *** stack smashing detected ***: terminated
Sep 25 10:23:16 laptop x11vnc[32105]: caught signal: 6
Sep 25 10:23:16 laptop x11vnc[32105]: 25/09/2018 10:23:16 deleted 43 tile_row polling images.
Sep 25 10:23:16 laptop systemd[1]: x11vnc.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 25 10:23:16 laptop systemd[1]: x11vnc.service: Failed with result 'exit-code'.
also verbittet sich der parallelbetrieb … vorerst zumindest.
ein systemctl restart x11vnc.service
startet den x11vnc service neu.
I just had the same problem on Linux Mint 9.1 cinnamon. The fix for me (found at https://thespecter.net/blog/technology/opensourcediy/x11vnc-stack-mashing-detected/) was simply to add ‘-noxrecord’ option to the x11vnc startup line.
Your mileage may vary, but it’s so simple it has to be worth a try.
I have the same issue. I used mint 18 for about a year and VNC was running 24/7 without any issues.
Now it terminates itself every few minutes with the same error as mentioned above: “x11vnc.service: Main process exited, code=exited, status=2/INVALIDARGUMENT”
This renders the system next to useless as it is a headless system. Everytime it terminates I have to wait two seconds to reconnect. It is just annoying.
hi, läuft caffeine auf der maschine?