dietpi 7.6.2 ARMv8 64-bit image xinit: not found

Having issues with your DietPi installation or found a bug? Post it here.
Thundersun
Posts: 3
Joined: Tue Sep 04, 2018 8:43 pm

dietpi 7.6.2 ARMv8 64-bit image xinit: not found

Post by Thundersun »

On a fresh install of dietpi 7.6.2 ARMv8 64-bit image for raspberry pi 4 8GB Model and after a got to install kodi on it this happens when i try to boot it every single time . Can i get help please ?
Error : /boot/dietpi/misc/start kodi: 39: exec: xinit: not found
User avatar
MichaIng
Site Admin
Posts: 3357
Joined: Sat Nov 18, 2017 6:21 pm

Re: dietpi 7.6.2 ARMv8 64-bit image xinit: not found

Post by MichaIng »

Many thanks for your report. Indeed I found a bug in dietpi-software which should install the X server on RPi 64-bit systems and only skip it on 32-bit systems. Please install it manually:

Code: Select all

dietpi-software install 6
Since there is no RPi GPU accelerated Kodi package for 64-bit yet, it might not work well. Would be nice if you could report back how the native Debian Kodi (that is installed) works, we haven't tested or got reports for a while with latest Bullseye packages.

If it doesn't work well (fluent HD video playback), I'll compile an own package using DRM and GLES instead of the X server (like on 32-bit) and we'll see if that performs better.
sputnik
Posts: 3
Joined: Sun Sep 26, 2021 7:14 pm

Re: dietpi 7.6.2 ARMv8 64-bit image xinit: not found

Post by sputnik »

Hi MichaIng,
Unfortunately more steps are required to make Kodi work, as on boot dietpi will complain about xterm missing. Installing it manually is not enough either, as a "xterm: no absolute path found for shell" error is returned.
User avatar
Joulinar
Posts: 5996
Joined: Sat Nov 16, 2019 12:49 am

Re: dietpi 7.6.2 ARMv8 64-bit image xinit: not found

Post by Joulinar »

how do you start KodI? Did you tried startkodi as user root?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
sputnik
Posts: 3
Joined: Sun Sep 26, 2021 7:14 pm

Re: dietpi 7.6.2 ARMv8 64-bit image xinit: not found

Post by sputnik »

Joulinar wrote: Sun Sep 26, 2021 11:10 pm how do you start KodI? Did you tried startkodi as user root?
Hi @Joulinar ,
Dietpi is configured to auto start Kodi on boot, so I don't know which command is used for that although I guess you do. root is the default user I chose when setting up Dietpi.
User avatar
Joulinar
Posts: 5996
Joined: Sat Nov 16, 2019 12:49 am

Re: dietpi 7.6.2 ARMv8 64-bit image xinit: not found

Post by Joulinar »

Could you login as root and use

Code: Select all

startkodi
. Does it give same error message?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
sputnik
Posts: 3
Joined: Sun Sep 26, 2021 7:14 pm

Re: dietpi 7.6.2 ARMv8 64-bit image xinit: not found

Post by sputnik »

I get a command not found error
User avatar
Joulinar
Posts: 5996
Joined: Sat Nov 16, 2019 12:49 am

Re: dietpi 7.6.2 ARMv8 64-bit image xinit: not found

Post by Joulinar »

@MichaIng
could you have a look pls
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 3357
Joined: Sat Nov 18, 2017 6:21 pm

Re: dietpi 7.6.2 ARMv8 64-bit image xinit: not found

Post by MichaIng »

A recent live patch should fix it in dietpi-software, but as Kodi was already installed, install the missing X server manually:

Code: Select all

dietpi-software install 6
User avatar
Joulinar
Posts: 5996
Joined: Sat Nov 16, 2019 12:49 am

Re: dietpi 7.6.2 ARMv8 64-bit image xinit: not found

Post by Joulinar »

@MichaIng
I guess this was already done and Kodi is failing with different error message now

Code: Select all

xterm: no absolute path found for shell
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply