Why does the newest version of Ubuntu (18.04) have 8 years old x11vnc?
My question is more specific than posted here and I have gotten an answer to it.
Ubuntu version:
user:~/$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
I have installed the x11vnc:
sudo apt-get install x11vnc -y
Later I discovered the version is 8 years old.
X11vnc version
29/07/2018 17:15:54 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 3283
So, I checked sources for the Ubuntu 18.04 and I see that the newest cersion is not available.
b-ii-6@b-ii-6:~/$ apt-get source x11vncReading package lists... Done
Need to get 2,868 kB of source archives.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe x11vnc 0.9.13-3 (dsc) [2,000 B]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic/universe x11vnc 0.9.13-3 (tar) [2,854 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu bionic/universe x11vnc 0.9.13-3 (diff) [12.5 kB]
Fetched 2,868 kB in 0s (6,632 kB/s)
dpkg-source: info: extracting x11vnc in x11vnc-0.9.13
dpkg-source: info: unpacking x11vnc_0.9.13.orig.tar.gz
dpkg-source: info: unpacking x11vnc_0.9.13-3.debian.tar.xz
dpkg-source: info: applying 0001-Fix-openssl-1.1.x-detection.patch
dpkg-source: info: applying 0002-Support-openssl-1.1.0.patch
dpkg-source: info: applying 10_usepkgconfig.diff
dpkg-source: info: applying do-not-run-dbus-launch.patch
dpkg-source: info: applying enforce-bash.patch
dpkg-source: info: applying java_target_source.patch
The current available version on the github is x11vnc 0.9.15 2018-02-04
Looking at https://packages.ubuntu.com/bionic/x11vnc i can see it's in 'universe', ie. community supported. This means no-one in the community has grabbed, compiled, tested & packaged the latest version.
You're welcome to do these if you can & wish, or you could 'file' a bug suggesting it be done too (when the MOTU & others find the time to do it).
The reason is not many in the community step forward & help, leaving it for a very small number of volunteers.
I have compiled and installed the new version of the x11vnc on my machine. The overnight testing has shown that it is more stable and doesn't have memory leaks observed in the older version.
Protocol
stop the current x11vnc if it is running
get git if you don't have it
create a source folder in the home directory(or somewhere else if you want) and clone the new version of the x11vnc.
you will get a new folder with x11vnc into it clone the x11vnc to your local machine
src/x11vnc
following the instructions in the readme file
Briefly, Building x11vnc: Make sure you have all the needed build/compile/development packages installed. On a Debian-based distro you can simply do
to install most of them.
if you get the error "You must put some 'source' URIs in your sources.list" the solution is here
To generate the build system, do a
After that, it's the usual
install new x11vnc
next, if you have added x11vnc to your autostart service list and followed this protocol you need to change location of your x11vnc service
change /usr/bin/ -> /usr/local/bin/
Got to config file and change to /etc/local/bin….
now you have new x11vnc 0.9.15 version
and the x11vnc server autostarts and uses the new versio