TexStudio funciona apenas como root no ArchLinux

TexStudio funciona apenas como root no ArchLinux

Instalei o texstudio usando pacman no Arco Linux com i3wm

sudo pacman -S texstudio

Mais tarde, quando tentei abri-lo no rofi, ele não iniciou, então tentei abri-lo no terminal e obtive a seguinte saída:

➜  ~ 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

Mas quando faço sudo texstudio isso funciona normalmente

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

Onde foi que eu errei?

Estou tentando rodar o texstudio no ArcoLinux, e ele roda apenas como usuário root e não como usuário normal.

informação relacionada