TexStudio работает только как root в ArchLinux

TexStudio работает только как root в ArchLinux

Я установил texstudio с помощью pacman в Arco Linux с i3wm

sudo pacman -S texstudio

Позже, когда я попытался открыть его из rofi, он не запустился, поэтому я попробовал открыть его из терминала и получил следующий вывод:

➜  ~ texstudio
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" 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: offscreen, wayland-egl, xcb, eglfs, vnc, minimal, minimalegl, linuxfb, wayland, vkkhrdisplay.

[1]    89919 IOT instruction (core dumped)  texstudio

Но когда я sudo texstudio это делаю, все работает нормально.

➜  ~ sudo texstudio
QApplication: invalid style override 'kvantum' passed, ignoring it.
    Available styles: Windows, Fusion
qt.xkb.compose: failed to create compose table

Где я неправ?

Я пытаюсь запустить texstudio в ArcoLinux, но он запускается только от имени пользователя root, а не от имени обычного пользователя.

Связанный контент