Install RealVNC on MX Linux
We encounter problem when installing RealVNC server on MX Linux. In this post, we are going to highlight the issue we encounter and our workaround solution.
First, we would like to introduce some background on MX Linux. MX Linux still believes in System V to manage software services. While most distribution have migrated to systemd, MX Linux still relies on init script to run services. However, MX Linux still install systemd in the OS but it disable systemd by default.
We encounter issue when we download and install RealVNC server. The software packages installed successfully, but the software configure the server services in systemd file. This is because the software packages detects that systemd was installed and therefore, it assumes that systemd is active. We could not force the software to configured in init script.
We manage to get the software to generate the init script by removing systemd from MX Linux. This action also breaks the system. We use a virtual machine to generate the init script and destroy the virtual machine.
Download the service you want or you can download both files. Place these files under /etc/init.d/.
To start RealVNC services use the following command:
To enable service when system bboots use the command below:
update-rc.d vncserver-x11-serviced defaults
Please refer to RealVNC site for further information.