Install Kodi in an LXC and Connect it to a Monitor/TV Using GPU Acceleration

Install Kodi in an LXC container on Proxmox, utilize GPU acceleration, and connect it to your TV, turning your Proxmox server into an all-in-one media center.

We'll use the script created by user mrrudy.

To be able to use a keyboard, mouse, or any USB controller after installation, we must install the container with privileges.

Be patient, it takes time to install. Access to tty7 means we can now connect our monitor or TV.

Keyboard, Mouse, or USB Controller

The keyboard, mouse, or USB controllers are /dev/input devices. To add them to the LXC, we need to know their code:

Input devices list

In my case, the code is 13.

We add to our LXC configuration: For example, 102 is the id of my Kodi container

Add these lines:

LXC configuration

When we're done, we restart Proxmox:

Updating Kodi

Inside the container's console:

When it's finished, we restart, and when it boots up, we'll have Kodi updated.

Images

Kodi interface 1

Kodi interface 2

We can learn more about configuring an LXC with Intel GPU on Konpat's blog.

If you found this tutorial helpful and useful, you can buy me a Ko-fi! Thank you! 😊