New comment by meator on void-packages repository https://github.com/void-linux/void-packages/pull/38265#issuecomment-1193862404 Comment: `btrfs-assistant` works fine on my machine. What's the difference between `btrfs-assistant` and `btrfs-assistant-bin`? They seem to launch the same program, but `btrfs-assistant-bin` prints: ``` QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' ``` `btrfs-assistant` doesn't print any warnings and just works. I have `elogind` up and running (not as a service) and I never had issues with `XDG_RUNTIME_DIR`. But this is just a warning and `btrfs-assistant-bin` launches anyway without any problems. When I try to launch `btrfs-assistant-launcher` (which is also executed by the desktop file), I get: ``` $ sudo btrfs-assistant-launcher qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. /bin/btrfs-assistant: line 27: 29130 Aborted btrfs-assistant-bin ${params} ``` I have tried to execute this in different ways (through a root shell instead of using `sudo`, tried to mess with `$XDG_RUNTIME_DIR`, tried to run it without `sudo` and authenticate via the default `polkit`). I have no idea if this is a problem on my end, I'm not doing any nonstandard things, I have regular Xorg, there's no `ssh`ing involved, I'm doing this locally. [This](https://stackoverflow.com/q/68036484/13840624) says that some dependencies might be missing. Some other people had this exact problem when launching Qt creator, but Qt creator works without problems for me.