Problems starting LibreOffice on i3 (X11, ARM, Linux)

Hi

I had an old aarch64 chromebook lying around and installed postmarketOS (alpine-based distro) on it, as it had an image available for my device.

I have used both KDE Plasma and i3wm with it. X11 is more performant than anything Wayland, because I can leave out any sort of compositor. This thing doesn’t have working GPU drivers.

I can run LibreOffice from the Distro Repo without any Problems on both the KDE Wayland and X11 Session, but when I try to start it up on i3, I get the following Error:

> libreoffice
/usr/lib/libreoffice/program/soffice.bin X11 error: Can't open display: 
   Set DISPLAY environment variable, use -display option
   or check permissions of your X-Server
   (See "man X" resp. "man xhost" for details)

My $DISPLAY is correctly set to :0 and I tried a diverse array of xhost commands, none of which fixed the issue.
libreoffice --display :0 returns the same error, except that the first line has :0 at the end.

I tried installing the Flatpak, but it dies without printing anything to the console after displaying the splash screen for way too long. On Wayland at least it returns an error.

Everything I found online was people trying to run Libreoffice from within SSH Sessions or having Problems with VNC Displays. I am not doing any of that, everything is local.

I am unsure what to do about this. Office365 is way too slow, both because of my horribly slow internet connection and the device not having a GPU driver.