This brief tutorial shows students and new users how to install Virtual Network Computing (VNC) server on Ubuntu 16.04 | 18.04 servers to allow remote connection via VNC protocol. VNC is a graphical desktop sharing system that allows users to connect remotely to a system with keyboard and mouse access… This is an open source alternative to Microsoft Remote Desktop Protocol.
Sometimes it may be necessary to disable OOM killer due to problems with it. In this case, just put the following code in /etc/sysctl.conf
vm.overcommit_memory = 2 vm.overcommit_kbytes = 0
We recommend that servers with low RAM (less than 4 GB) do not disable this function at all, as your server may have major problems.