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.


Background

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.


Issue

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.


Workaround Solution

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:

/etc/init.d/vncserver-x11-serviced start

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.

***

Comments

Popular posts from this blog

Revive Old Mac Mini (2009) with Linux

Configure Unattended Upgrades on Raspberry Pi

Install and Configure RealVNC in Linux Ubuntu 18.04 LTS