Configure OSMC via VNC

When running KODI (OSMC) on the Raspberry PI it’s always handy to set in front of your desktop and adjust/install stuff.
So I end up setting up the vnc server on my Raspberry PI.

You’ll need VNC Viewer to connect to your fresh Raspberry PI VNC server.

But first, let’s connect to the raspberry pi instance via ssh (ssh osmc@raspberry_ip) and update it:

then you will need to install:

We’ll need to change the refresh rate so we’re going to edit the main.c file before compiling it:

We’re looking for

to be replaced with:

Then we’ll compile:

Last step before connecting is:

You need to keep the process running:then start your VNC viewer and use below url to control your raspberry PI.