OSMC = Debian + Kodi for Vero 4K

Note: This article is a work in progress, more to come...

I've gotten fed up with the nonsense that is Chromecast (slow, limited), Apple TV (slow, limited), and Fire TV Stick (slow, limited). I ran across the Vero 4K, which was announced in February, 2017. Besides good reviews about good hardware, the responsive and active half-way decent, half-asshat forum (using Discourse), the system uses OSMC (open source media center) which is an Embedded Linux (Debian) system that uses Kodi as the default UI. In addition, the main developers contribute upstream. This is something I can support, and it looks like a viable way toward a more functional set-top-box/iptv/pvr/media-center.

OSMC can be used on a Raspberry Pi and some other hardware, so the cost premium above a DIY hardware is in terms of higher performance components and software improvements. Price is around $150 USD with free international shipping, and I think I got mine (shipped from the UK to Thailand) within a few days, which is surprisingly fast.

User Friendliness vs. Extensibility

It is claimed that the Vero 4K is user friendly. Nonetheless, it still requires either familiarity with Kodi or decent technical skills (linux) and an openness to learn how this platform works. To be honest, the user friendliness is not stellar, though it could be worse. The primary reasons are twofold:

  • The system necessarily includes the complexity of Debian with the complexity of Kodi. Now, certainly, OSMC is meant to try and marry these two together in a way that makes the whole better than the sum of its parts. And it does do that.
  • However, as we venture down the path of functionality, configuration, and customization, the complexity of the underlying derrivative operating system and packages, and also the UI/GUI and its customization and management.

Extensibility trumps user friendliness (of that extensability) if kept within reason, and OSMC and the Vero 4K does do that.

Diversity of Use Cases

The ultimate media center might control all media / devices from a single or set of remotes. It might also allow for slinging media from other devices. As well it might have mutliple outputs (screens, speakers), as well as multiple inputs.

With all these possibilities, and certainly without all of them converging, there are a variety of configuration scenarios.

SSH and Debian Linux

SSH can be enabled along with a web interface (mentioned below). The OSMC Linux distribution is based on Debian and runs systemd and the apt package manager.

What to install on OSMC Linux

Several apps and utilities help a bit:

  • apt install htop
  • apt install firewalld
  • apt install mosh

Note that Kodi is the GUI. To exit Kodi and drop down to a command prompt, choose Exit from the menu. To restart Kodi, type startx.

Better Security for OSMC

The security model for the OSMC is quite anemic. In fact, no firewall or ipchains configuration is provided out of the box, and default username and passwords are identical on all devices (which means people will leave them that way, making large-scale attacks possible.

The first things are to change the username (which can be done in the OSMC interface), and then set up SSL keys. Secondly it is possible to add MOSH for reliability (but is it ipchains for security or firewalld?).

  • When logging in, change to root use sudo su.
  • Change the password of the logged in user
  • Create a username and password for the web interface (if not used, disable)
  • Change the default port of the remote web interface
  • Create a new user for remote login
  • Generate SSL keys for the user
  • Disable the ability to login with password and only accept an SSL key

Web Interface

The built-in webserver, once enabled, allows for web-based control of certain aspects of OSMC (though not all). I found it a bit flaky. The web server is based on libmicrohttpd. They key point to recall is that this web server is a part of Kodi.

This is found via: Settings (gear) > Service > Control > Webserver

I've had trouble with this, and it is a bit slow and throws some errors. Likely I do not have the use case for it (since all it really does is control a few settings and also what is playing or queued).


There is an app store in the main OSMC interface, symbolized by a shopping cart. The following apps are available as of June 2017:

  • TV Tuner
  • SSH
  • FTP Server (not needed if using SFTP which SSH privides)
  • Torrent Client
  • Samba (SMB) Server (for accessing media via network shares)
  • Chron Task Scheduler

SSH and the Torrent Client are likely the most useful, and the rest are largely unneeded unless there is a bit of Chron or a TV Tuner needed.

Transmission Torrent Client

  • Setting up Transmission
  • Address to access the Transmission web client:
    • http://<ip.address.of.osmc>:9091/transmission/web/

To be honest, I don't see what the fuss is. Using transmission from a desktop and then moving files to the media center repository makes more sense than fiddling in a web interface. Controlling everything through a single device is fine, but still kludgy. Not to mention presents additional security concerns.

TV Tuner Integration


Airplay, DRM, Codec Incompatibility

As of Kodi 17 there are various issues which make Airplay Mirroring, DRM content such as netflix, and YouTube mobile apps not work with OSMC. It is possible in the future that these issues will be resolved, but as of late June, 2017 the experience with IOS is fairly wretched, especially with Iphone5 and earlier models, and with OSX Yosemite and earlier.

Repositories, Sources, Add-ons, Updates

There are lots of scams out in DIY-PVR land, and the main reason has to do with access to pirated material. Money is to be made in purporting to help/assist/provide-access-to media that would otherwise cost more to gain access to.

First, what is needed is a tier 1 repository that would provide fairly regular updates and a wide assortment of add-ons, apps, etc. Pretty much that is the official Kodi repository.

Second, the key add-ons need to be identified, and installed, hopefully from a repro that would provide updates (rather than a simple source that might not). Again, Kodi.

Kodi Add-ons

A partial list of Kodi Add-ons:

Vero 4K Remote Control

The remote control seems fine to me. There is a little learning curve on what to press when in specific parts of the menu, but the responsiveness is generally fine. Included in the box is both a USB remote receiver dongle (presumably radio) and an infrared extender cable (for use with other remotes).

One option that is possible is to remap the keys to include volume up/down. This is one of the obvious advantages of an open system based on open systems.

The fastest/easiest approach to do this is to install the Keymap Editor, a system add-on that allows for remapping of keys. First, select the key function desired, then click through and select the key on the remote to remap. I've remapped the skip-ahead/skip-back keys to volume up and down. Volume controls on the Vero remote are a bit slower, but if one wants to use a single remote, this is the approach (if desiring to use the Vero remote by itself).

Fonts for Foreign Language Support

Thai fonts do not appear to be supported with the standard OSMC + Kodi setup. Apparently they need to be placed in a certain folder, as well.