My x11vnc on Fedora has recently started crashing with the following error:
*** stack smashing detected ***: terminated
This issue seems to come and go for a lot of people with x11vnc. Bugs have been reported, but nobody seems to be able to pin it down. One workaround is to recompile it from source with some memory protections disabled, but that is a lot of work .
This workaround takes care of it: launch x11vnc with -noxrecord
on the end. That’s it!
Thanks! How did you figure out that this parameter avoids the issue?!
Searching around, there were all sorts of workarounds that worked for some but not all. This is what worked for me, mostly through trial and error.
You made my day, thanks a lot.
Thanks! This seems to be helping here also.
Ubuntu 18.04.1 LTS Mate desktop.
Thanks, so far so good! Ubuntu 18.04.2
In my case to avoid crash with Ubuntu 18.04 while drag and drop or resize the windows I needed to add
-noxrecord -ncache 10 -ncache_cr
to the config daemon file
/lib/systemd/system/x11vnc.service
sorry it is -noxrecord -ncache_cr
with only -ncache 10 -ncache_cr it appears 4 screens after reboot
Regards
-noxrecord -ncache_cr
Curro Blanquer, THANK YOU very-very much!
Fixed this bug on my Linux Mint 19.3 MATE with window manager Marco + Compositing
-noxrecord -ncache_cr
Fixed this bug on Kubuntu 18.04 running version 11vnc: 0.9.13 lastmod: 2011-08-10