In case your Jenkins CI fails to complete building your project but only logging the following: ERROR: Maven JVM terminated unexpectedly with exit code 137 It means maven does NOT have enough memory available. To solve this, simply increase your MAVEN_OPTS memory. Or you may need to increase your system's memory. This is very likely if you run your Jenkins on a virtual machine and you are stingy of memory.
The lsof command is available only to root. Anyway, if you want to run it as a normal user, you can specify its full path: $ /usr/sbin/lsof /path/to/some/file Or $ sudo -i lsof /path/to/some/file Or else: sudo dnf install lsof Or sudo yum install lsof
Gnome not allowing Screen Sharing when no network connected. Gnome gets the information from the NetworkManager. And it is not reporting any network because it is not set to manage those connections. This had to be fixed. This is what was in /var/log/syslog gnome-control-c[16836]: Failed to enable service vino-server: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be enabled on this network, status is '0' To fix: change managed to true in /etc/NetworkManager/NetworkManager.conf [ifupdown] managed=true Then run sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf Then reboot, and check whether now there are networks in the "Networks" field on your screenshot. The "Screen Sharing" button now should allow to be set to "On"
Comments